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
What is the return type of executescalar?
What are the drawbacks of using ado.net?
What providers does Ado.net uses?
If we are not returning any records from the database, which method is to be used?
Is bulk insert faster than insert?
What is a dataview?
What are all the different methods under sqlcommand?
What are the major difference between classic ADO and ADO.NET?
Which is faster sqldataadapter and sqldatareader?
How to retrieve the user id which is provided while windows authentication?
Describe the disconnected architecture of ADO.NET’s data access model.
Explain the difference between ado and ado.net?
What is the difference between Dataset. clone and Dataset.copy?
What is dataadapter in ado.net?
How do you update a dataset in ado.net and how do you update database through dataset?