Difference between datareader and dataset?

Answer Posted / chaitanya.k

Data Reader is a forward only and read only data
DataSet is used to maintain relationships between multiple
tables.

Data Reader can't persist the data
Data Set can persist the data

Is This Answer Correct ?    145 Yes 22 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does sqlclient and oledb class share the same functionality?

702


Which database is the ado.net?

705


Define table relations?

726


What is the difference between Optimistic and Pessimistic locking?

736


What DataReader class do in ADO.NET ?

771


Explain how to find the given query is optimised one or not?

699


Some important instruction regarding ADO.NET connection string ?

732


What is dao and ado?

689


What is ado recordset?

672


What is fill method in ado.net?

708


What is data relation in ado.net?

700


What is difference between dataset and datatable?

746


What is ole db and odbc?

685


What are datareaders?

675


What is the difference between DataReader and DataSet in ADO.NET?

782