Assuming your record set name to be rs, the following will print records from 5 to 10.
rs.Move 5
Do while not rs.EOF and rs.RecordCount <= 10
rs.Fields("column1")
rs.MoveNext
Loop
Replace column1 with the frist field in your record set.
I am using a text box[I would be using a rich text box instead later on] wrapped in a user control(.ocx) in my ASP page. This control is embedded in the page using the object tag. I have defined a property called Text in my control for storing the contents of the text box. I'm able to access...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.