Home > DeveloperSection > Interviews > How to convert a DataSet to a DataReader?

Posted on    October-25-2010 12:00 AM

 DB2 DB2 
Ratings:
 1 Answer(s)
  912  View(s)
Rate this:

Pushpendra Singh

Total Post:241

Points:1205
Posted on    November-09-2010 1:00 AM

Both are different accessing mode . DataReader is a concept of connected architecture and DataSet is a concept of disconnected architecture.
we use this syntex for convert the dataset into datareader

DataTableReader reader = DS.Tables[0].CreateDataReader();


Don't want to miss updates? Please click the below button!

Follow MindStick