Difference between Dataset and DataReader ?

Answer Posted / payal

1)Data set is work in diconnected architure.
Datareader is work in connected architure.

2)according to speed datareader is faster than dataset.

3)In case of dataset it contain all
tables,relations,constriants which is not in datareader so
that speed of datareader is fast.

4)Data set can persist records where datareader is not.

5)we can save ,update data in dataset and save using
acceptchanges method where datareader cannot.

6)datareader is forward only.where dataset is not.

Is This Answer Correct ?    18 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is asp.net outdated?

527


How Session use Cookies in State Management?

607


What is the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc

539


What is actually returned from server to the browser when a browser requests an .aspx file and the file is displayed?

525


benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks

1668






How to display Alert in ASP.NET

639


What do you mean by authorization?

518


What is the use of session?

519


What is a swagger in web api?

534


What is bound controls

585


Define managed code and managed data in .net?

509


What is directive in asp net?

539


What is caching? What are different ways of caching in asp.net?

662


What are standard controls?

510


How does session id work?

490