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 difference between ado.net and entity framework?
Define partial class?
What is ado connection?
What is dbcontext and dbset in entity framework?
What do you know about ado.net's objects?
What is an orm, and why would you use one instead of plain old ado.net?
Is entity framework better than ado.net?
How to copy the contents from one table to another table and how to delete the source table in ado.net?
What is serialization and de-serialization in .net? How can we serialize the dataset object?
Explain why canot we use multiple inheritance and garbage collector paralelly in .net?
What is row state?
What are the different methods by which we can populate a dataset?
What does datareader object do?
What DataReader class do in ADO.NET ?
What are the benefits of ADO.NET?