Difference between datareader and dataset ?

Answer Posted / harsh v m

DataReader acts like Readerset of ADO.In ADO.NET we make
use of Datasets & in ADO, Readersets are used.

DataReader is read only,forward only type and Dataset is
disconnected type that can store more than one table.Hence
Datareaders are used for reading some data from database
only,but not for updating the data.Whereas Datasets can be
used for later purpose.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define machine.config in .net?

547


What are the types of caching in asp.net?

544


Explain the difference between sql invalidation and sql notification.

551


What is repository pattern in mvc.net? : asp.net mvc

517


How can we implement a identity (sql server) call in an asp.net page?

547






Explain program to call the js function when the change is being made in the dropdown list made in asp.net mvc? : asp.net mvc

522


Define static constructor?

548


Explain swagger components.

558


What is the main function of url routing system in asp.net mvc? : asp.net mvc

485


Disable Mouse right click on web page in asp.net?

577


What’s the difference between response .redirect and server.transfer?

510


Explain the use of dataadapter.

569


What is ASLM?

673


Tell me the code snippet to show how we can return 404 errors from HttpError?

778


Define authentication and authorization.

613