HOW TO CONVERT A DATASET TO A DATAREADER?

Pushpendra Singh

Total Post:241

Points:1205
Posted by  Pushpendra Singh
DB2 
DB2
 1036  View(s)
Ratings:
Rate this:
  1. Pushpendra Singh

    Post:241

    Points:1205
    How to convert a DataSet to a DataReader?

    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();

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!