how to locate record

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

hui

hi guys

I have got a datareader, now I wanna move next or move to last or move to
first. How can I do it?

thanks

hui
 
Hi hui,

A DataReader can only move forwards and only one step at a time starting
at the first result set.
You can't specify which record you want to read.

You might want to consider reading the entire or parts of the table into a
dataset and browse the dataset using a DataAdapter.
 
Back
Top