Difference between datareader and dataset?

Answer Posted / chaitanya k

Data reader
1. It is a read only and forward only data.
2. U can access one table at time.
3. It can't persist the data.
4. It is comes under connected architecture.
5. One of the most advantage is it is much faster than data
adapter

Data set:

1. It is defined with multiple tables.
2. It can persist the data.
3. It is a relational data cache hosted in application
domain during execution.
4. It is a disconnected architecture.
5. It can't defined with out data adapter.

Is This Answer Correct ?    121 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is stored procedure used in ado.net?

766


What is difference in record set and dataset?

737


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

761


What is ado connection?

700


What is ole word?

727


What is the difference between statement and preparedstatement interface?

769


What is ambient transaction?

688


What is the difference between OLEDB Provider and SqlClient?

720


How to connect and retrieve data from database using dataset

739


What is difference between sqldatareader and sqldataadapter?

701


List the 4 common ado.net namespaces?

878


How to read data with the sqldatareader ?

741


What is ado.net components?

685


What is a string variable?

658


What is the role of data provider in ado.net?

742