Wednesday, May 11, 2011

Give an example scenario of using a DataSet and a DataReader?

If you want to just read and display the data(No updates, deletes, or inserts) then use a DataReader.
If you want to do a batch inserts, updates and deletes then use a DataSet.

No comments:

Post a Comment