Saturday, 27 April 2013

Give an example scenario of using a DataSet and a DataReader? | ASP.Net interview questions

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: