Difference between datareader and dataset?
Answer Posted / sagar
Data reader is a connection oriented architecture as its
requires continues connection with Data base.
while Data set is disconnected oriented architecture,
whenever user wants to pull the data he/she build the
connection with Data base.
-Data readers execution is very fast. as it reads only
forward stream.
while
Data set execution is slow as compare to Data reader, as it
carries bundle of data.
- when data changes requires frequently then User should go
for Data set, when user doesn't require data changes
frequently then he/ should go for Data Reader.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Describe the disconnected architecture of ADO.NET’s data access model.
Explain the overview of ado.net architecture?
Difference between sqlcommand and sqlcommandbuilder?
Explain sqlconnection object?
What is the use of ADO.NET and XML web services?
What is serialization and de-serialization in .net? How can we serialize the dataset object?
What is ado or jdbc?
I loaded the dataset with a table of 10 records. One of the records is deleted from the backend, how do you check whether all the 10 records were present while updating the data(which event and steps) and throw the exception 28 can datareader hold data from multiple tables?
What are advantages of microsoft-provided data provider classes in ado.net?
What are the parameters that control most of connection pooling behaviours?
How to add a javaScript function in a datagrid?
What are the benefits of using of ADO.NET in .NET 4.0?
What is concurrency? How will you avoid concurrency when dealing with dataset? (One user deleted one row after that another user through his dataset was trying to update same row. What will happen? How will you avoid the problem?)
How to pass values into a datatable?
What does executenonquery () method return?