Difference between datareader and dataset?
Answer Posted / anju
- 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 ? | 14 Yes | 6 No |
Post New Answer View All Answers
What are the advantage of ado.net?
Can we do database operations without using any of the ado.net objects?
Explain the role of data provider in ado.net? What is the role of data provider in ado.net?
Where is adodb dll located?
What DataReader class do in ADO.NET ?
Explain the two fundamental objects in ado.net?
How to connect and retrieve data from database using dataset
What you mean by filtering of data?
What is the difference between data reader and data adapter?
What is ole2 format?
What is aggregating data ?
What is data view and variable view?
What is dataadapter in ado.net?
How can I retrieve two tables of data at a time by using data reader?
Describe the command object and its method.