当前位置: 首页 > 图文教程 > 网络编程 > ASP > 用asp怎样编写文档搜索页面(2)

ASP
[原创]本人常用的asp代码
asp防止刷新功能
生成所有页面的效果+分页生成
ASP在SQL Server 2000中新建帐号和权限
PR值查询代码制作
GetRows的用法详解!
ASP简洁的多重查询的解决方案
ASP实现SQL备份、恢复
用ASP写组件
ASP中Request对象获取客户端数据的顺序(容易忽略)
利用Adodb.Stream制作彩色验证码
ASP 类 Class入门 推荐
asp数据库防下载处理
浏览文件夹下面所有图片
结合asp和存储过程做的搜索程序
实现支持逻辑搜索/单词搜索/词组搜索+支持OR/AND关键字的VBS CLASS!
支持加号空格的查询
取得表单提交的所有数据
发邮件的asp(CDONTS.NewMail)
使用FSO把文本信息导入数据库

ASP 中的 用asp怎样编写文档搜索页面(2)


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-03   浏览: 148 ::
收藏到网摘: n/a

  <td valign="top">DocSubject</td>
<td valign="top">文档的主题</td>
</tr>
<tr>
<td valign="top">DocAuthor</td>
<td valign="top">文档的作者</td>
</tr>
<tr>
<td valign="top">DocKeywords</td>
<td valign="top">文档中的关键字</td>
</tr>
<tr>
<td valign="top">DocComments</td>
<td valign="top">文档中的注释</td>
</tr>
</table>

<p>属性名的完整列表,请参阅本页后面的<a href="#PropertyNamesList">属性名列表</a> 。</p>

<h2><a name="RelationalOperators">关系运算符</a></h2>

<p>关系运算符用于关系属性查询中。</p>

<table border="1" cellpadding="4" cellspacing="1" width="100%">
<tr>
<th align="Left" valign="bottom" bgcolor="#C0C0C0" width=33%>搜索目标</th>
<th align="Left" valign="bottom" bgcolor="#C0C0C0" width=33%>示例</th>
<th align="Left" valign="bottom" bgcolor="#C0C0C0" width=33%>结果</th></tr>
<tr>
<td valign="top">与固定值相关的属性值</td>
<td valign="top">@size < 100 <br>
@size <= 100 <br>
@size = 100 <br>
@size != 100 <br>
@size >= 100 <br>
@size > 100 </code></td>
<td valign="top">大小与查询匹配的文件</td>
</tr>
<tr>
<td valign="top">拥有全部比特集的属性值</td>
<td valign="top"><code>@attrib ^a 0x820</code></td>
<td valign="top">拥有存档属性的压缩文件</td>
</tr>
<tr>
<td valign="top">拥有一些比特集的属性值</td>
<td valign="top"><code>@attrib ^s 0x20</code></td>
<td valign="top">拥有存档属性的文件</td>
</tr>
</table>

<h2><a name="PropertyValues">属性值</a></h2>

<table border="1" cellpadding="4" cellspacing="1" width="100%">
<tr>
<th align="Left" valign="bottom" bgcolor="#C0C0C0" width="130">搜索目标</th>
<th align="Left" valign="bottom" bgcolor="#C0C0C0" width="200">示例</th>
<th align="Left" valign="bottom" bgcolor="#C0C0C0" width="170">结果</th></tr>
<tr>
<td valign="top">指定值</td>
<td valign="top"><code>@DocAuthor = Bill Barnes </code></td>
<td valign="top">由“Bill Barnes”创作的文件</td>
</tr>
<tr>
<td valign="top">以前缀开始的值</td>
<td valign="top"><code>#DocAuthor George* </code></td>
<td valign="top">作者名字是以“George”打头的文件</td>
</tr>
<tr>
<td valign="top">带扩展名集中任何一种扩展名的文件</td>
<td valign="top"><code>#filename *.|(exe|,dll|,sys|) </code></td>
<td valign="top">带 .exe、.dll 或 .sys 扩展名的文件</td>
</tr>
<tr>
<td valign="top">在某个日期之后修改过的文件</td>
<td valign="top"><code>@write > 96/2/14 10:00:00</code></td>
<td valign="top">在 1996 年 2 月 14 日 10:00 GMT 之后修改过的文件
</td>
</tr>
<tr>
<td valign="top">在相对日期之后修改过的文件<