Difference between datareader and dataset?
Answer Posted / jayeshwaree
datareader:
*connected enviornment
*reads one row at a time. By using Read() we can read the
read records of one row
*used to retrieve data as it returns a result set in a read
only and forward only mode
dataset:
*disconnected enviornment
*it is used as a container to hold one or more tables with
constraints and relations
*to update the changes made in dataset we need a data
adapter and we need to call the Update() method
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
How do you update a dataset in ado.net?
How can we add/remove row's in "datatable" object of "dataset"?
What is commandbuilder in ado.net?
What are the steps you will take to improve performance?
What are the namespaces used in ADO.Net to connect to a database?
What is linq and entity framework?
What is the provider being used to access oracle database?
Define data adapter?
What is ado asp?
Is ado.net dead?
Explain the role of data provider in ado.net? What is the role of data provider in ado.net?
What is data relation in ado.net?
What DataReader class do in ADO.NET ?
What is the hierarchy of data in databases?
Explain the differences between oledb sql server, oledbdotnet provider?