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

ASP
asp查询xml的代码 不刷新页面查询的方法
ASP 快速执行动态网页
asp实现本周的一周时间列表的代码
asp get和post数据接收过滤
为google量身定做的sitemap生成代码asp版
适合所有网站的rss和xml聚合功能asp代码
ASP MSSQL存储过程的实现小例
动网论坛的asp 数据库连接代码
ASP+MSSQL2000 数据库被批量注入后的解决方法
asp 去掉html中的table正则代码函数
asp 过滤非法字符函数
asp检测是否为中文字符函数
ASP 包含文件中的路径问题和使用单一数据库连接文件的解决方案
asp HTTP 500错误 常见问题分析
asp 关键词高亮显示(不区分大小写)
一段ASP的HTTP_REFERER判断代码
asp datediff 时间相减
asp下去除超链接的函数
asp连接mssql2005的代码
asp access数据库并生成XML文件范例

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


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-03   浏览: 202 ::
收藏到网摘: 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">在相对日期之后修改过的文件<