how to move

  • Thread starter Thread starter hui
  • Start date Start date
H

hui

hi guys

I have got a datareader, now I wanna get last record or locate any record by
some integer step. How can I do it?

thanks

hui
 
The DataReader is a fast forward only or "firehose" cursor. You cannot move
any direction other than forward. If you need forward, backward and other
move capabilities, you will either have to feed the Reader into another type
of object collection or array or move to a DataSet.


---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top