六月婷婷综合激情-六月婷婷综合-六月婷婷在线观看-六月婷婷在线-亚洲黄色在线网站-亚洲黄色在线观看网站

明輝手游網中心:是一個免費提供流行視頻軟件教程、在線學習分享的學習平臺!

使用索引服務器 - 創建ASP頁面

[摘要]創建ASP頁面  在ASP頁面上一切都變得非常酷。你用表單中的值來驅動對索引服務器進行查詢的對象。整個過程是這樣的:◆ 打開記錄集。◆ 用標準ADO 方法,一步步地走過記錄集。<%"...
創建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>
<%
if not rsquery.eof then
Response.Write rsquery.recordcount & " hit(s) were found. "
if rsquery.recordcount > 30 then
Response.Write "You may want to refine your query."
end if
Response.Write "<br>"
end if
%>

<%
if not rsquery.eof then
while not rsquery.eof and rowcount > 0
if rsquery("doctitle") <> "" then
Response.Write "<p><b><a href="" & rsquery("vpath") & "">" & rsquery("doctitle") & "</a></b><br>"
response.write "<font size=-1>" & rsquery("characterization") & "...</font><Br>"
Response.Write "<font size=- 2>" & rsquery("hitcount") & " hit(s)</font></p>"
end if
rowcount = rowcount - 1
rsquery.movenext
wend
Response.Write "<br><Br>"
%>


<%
else
%>

<p>
對不起,沒有發現紀錄,如果要查詢兩個以上的詞,使用and或or。
</p>

<%
end if
%>

</body>
</html>



  你需要做的第一件事就是建立對索引服務器對象的引用。這是通過使用server.creatobject方法來完成的:


Set objQuery = Server.CreateObject("ixsso.Query")   
作者/出處:青蘋果工作室



主站蜘蛛池模板: 色综合天天网 | 亚洲最稳定资源在线观看 | 亚洲伊人久久在 | 色黄网站在线观看 | 亚洲成a人片77777老司机 | 亚洲黄网在线 | 伊人久久大香线蕉avapp下载 | 青青青国产免费手机视频在线观看 | 日本无卡码一区二区三区 | 欧美在线观看一区二区三区 | 日产一区二区三区 | 自拍视频免费 | 性激烈欧美三级在线播放 | 污污小视频在线观看 | 日本高清视频在线观看 | 日本a级片在线播放 | 亚洲线精品一区二区三区 | 欧美性猛交xxxx乱大交中文 | 日韩精品永久免费播放平台 | 欧洲精品一区二区 | 亚洲 中文 欧美 日韩 在线 | 欧洲性开放大片免费观看视频 | 天天综合网天天综合色不卡 | 亚洲国产另类久久久精品小说 | 日本a级三级三级三级久久 日本a级片在线播放 | 在线不卡一区二区三区日韩 | 人人看人人添人人谢 | 天天视频色 | 天堂最新版资源www在线 | 无码日韩精品一区二区免费 | 亚洲最大免费视频网 | 日本视频在线免费播放 | 丝袜美女啪啪 | 亚洲第二色 | 日本高清免费在线 | 日韩精品免费在线观看 | 中文字幕欧美成人免费 | 亚洲精品日韩专区在线观看 | 日韩中文欧美 | 在线观看精品视频一区二区 | 在线观看成年视频 |