您现在的位置是:网站首页> 编程资料编程资料
asp中rs.BookMark的使用介绍_应用技巧_
2023-05-25
195人已围观
简介 asp中rs.BookMark的使用介绍_应用技巧_
如 t=rs.BookMark 记录当前的标记
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 %> 当你按照这个例子自己做一遍运行的时候你就会明白了!如果还不明白(那就别写程序了...)您可能感兴趣的文章:
相关内容
- ASP 数字分页效果代码_应用技巧_
- 一个ASP创建动态对象的工厂类(类似PHP的stdClass)_ASP编程_
- ASP在ACCESS中模糊查询"内存溢出"的解决方法_应用技巧_
- asp对复杂json的解析一定要注意要点_应用技巧_
- ASP转换格林威治时间函数DateDiff()应用_应用技巧_
- ASP多条件查询功能实现代码(多关键词查询)_应用技巧_
- asp textbox获取显示mysql数据示例代码_应用技巧_
- asp页面提高的访问速度的方法详解_应用技巧_
- Asp 使用 Microsoft.XMLHTTP 抓取网页内容并过滤需要的_应用技巧_
- Asp 解析 XML并分页显示源码_应用技巧_
