Introduction to rs. BookMark in asp _ MySQL

Source: Internet
Author: User
Asp rs. BookMark use introduction such as t = rs. BookMark records the current mark find a server will be magnetic link crawler up http://www.51bt.cc (51 search) you can see.
Rs. BookMark = t move the cursor to the position of the record
Example:



<%
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
%> You will understand when you run the task by yourself following this example! If you still don't understand it (don't write the program ...)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.