如 t=rs.BookMark 记录当前的标记找了台服务器将磁力链接爬虫架设起来http://www.51bt.cc(51搜索)大家可以看下。
rs.BookMark=t 把游标移动到记录时的位置
例子:
dim d
sql="select * from cs1"
set rs=server.CreateObject("ADODB.RecordSet")
rs.Open sql,conn,1,1
while not rs.eof
if cInt(rs("id"))=10 then
d=rs.Bookmark
end if
response.write(rs("id")&"-"&rs.bookMark&"
")
rs.MoveNext
wend
rs.Bookmark=d
response.write(rs("id")&"-
")
while not rs.eof
if cInt(rs("id"))=10 then
d=rs.Bookmark
end if
response.write(rs("id")&"-"&rs.bookMark&"
")
rs.MoveNext
wend
%>当你按照这个例子自己做一遍运行的时候你就会明白了!如果还不明白(那就别写程序了...)
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号