您的位置:学习中国 推荐教程 正文
原作者:admin 添加时间:2007-07-23 原文发表:2007-07-23 人气:19 来源:www

本文章共1222字,分3页,当前第1页,快速翻页:
 
-----------------------------------------------------------------------------------------------------------------------------------------------

本文提示:《使用索引服务器 - 创建ASP页面》是本站编辑们为广大网友精选的实用文章,本文阐述了关于文章的相关理论,相对来说专业性强,但是本文只是针对于某个问题提出的见解与论述,未必能辐射到相关问题的方方面面,所以本文处理问题的方法仅仅为您提供一些参考。更多问题请查阅学习中国网其他栏目哦.

-----------------------------------------------------------------------------------------------------------------------------------------------

在ASP页面上一切都变得非常酷。你用表单中的值来驱动对索引服务器进行查询的对象。

整个过程是这样的:

◆ 打开记录集。
◆ 用标准ADO 方法,一步步地走过记录集。

<%
"Create a Query object, initialize it using
"SetQueryFromURL, and dump the object state

"set the query object
Set objQuery = Server.CreateObject("ixsso.Query")

"get the query properties set from the
"incoming URL (from the form GET operation)
objQuery.SetQueryFromURL(Request.QueryString)

"tell the object what columns to include
objquery.columns="filename,HitCount,vpath,DocTitle,characterization"

"open the recordset, causing the query to be
"executed
set rsQuery = objquery.createrecordset("nonsequential")

"now, if rsquery.eof is not TRUE, then we have results
"to show. If it IS TRUE, no results were found.

"get the page out for the user...
%>

<html>
<head>
</head>

<h1>Search Results</h1>
A maximum of 200 results will be returned, 20 hits per page will be shown. <br><br>
 

本文章更多内容1 - 2 - 3 - 下一页>>
本页地址
收藏到:[收藏夹] [百度搜藏] [新浪ViVi] [POCO网摘] [ 和讯网摘] [好哦网摘] [Google书签]
               
[搜狐网摘] [365Key网摘] [天极网摘] [我摘] [博采网摘] [igooi网摘]
相关文章

使用索引服务器 - 使用索引服务器的对象
用TDC建立自己的数据库格式
使用索引服务器 - 增加属性
“无法指出的错误”连接字符串的一种原因
用FSO获得图片文件的信息(大小,宽,高)
关于SQL注入防御函数
ASP与数据库(四)
ASP与数据库(二)
ASP与数据库(三)
ASP与数据库(一)
无组件文件上传代码实例
认识和优化connection对象
asp初学者怎么学asp
将内容发送到浏览器
ASP六大对象介绍
浅析ASP内置组件
ASP常用代码
使用Javascript制作连续滚动字幕
JavaScript静态页面值传递之Cookie篇
拒绝眼花缭乱 还网页链接“清白

相关评论


本文章所属分类:首页 推荐教程   ASP编程