Difference between DataReader and DataAdapter / DataSet and
DataAdapter?

Answer Posted / prakash tiwari

Data Reader will read only one record at a time.So memory
consumption will be less,it is purely connection oriented
it will use connection exclusively when datareader is
closed.the memory will be released on the server machine
and connection will be used for any other purpose.

Data Adapter acts as a mediator between dataset and
database server.
it will read data from the database server and places with
in dataset
the manipulations on the dataset will be updated with the
database server

Is This Answer Correct ?    52 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you update database through dataset?

537


Describe briefly an ADO.NET Dataset ?

551


Can we do database operations without using any of the ado.net objects?

535


Explain why canot we use multiple inheritance and garbage collector paralelly in .net?

593


Which control of the BindingNavigator returns the current position within the data source?

731






What are the ado.net components?

525


What is partial class?

550


Which database is the ado.net sql connection object designed for?

591


How do you update a dataset in ado.net?

549


Which is better entity framework or ado.net?

509


Define isolation?

533


What is oledb connection?

509


What is aggregate root?

494


What are the different execute methods of Ado.Net?

553


What is an orm, and why would you use one instead of plain old ado.net?

572