What is the difference between a Dataset and DataReader?
Can dataReader hold data from multiple tables?
Answer Posted / naresh
Data reader:
1. It is a read only and forward only data access to data.
2. You 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 can access multiple tables at a time.
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 define with out data adapter.
Yes.dataReader hold data from multiple tables. The SELECT
statement may have columns that belong to one or more
"tables in the database". By example using a JOIN
or something similar.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is ado code?
What is data reader in ado.net?
What is basic use of data view?
how can implement dropdownlist in particular of dataset when try to update?
Define data adapter?
oledbdataadpter with ms access in c#.net giving exception System.Data.OleDb.OleDbException while writing adapter.update(dataset,"tabname"); how to update the database from dataset?
What is linq and entity framework?
What is data view and variable view?
What is commandbuilder in ado.net?
What Is Difference Between Ado And Ado.net?
What is data control techniques?
Which database is the ado.net?
What do you know about ado.net's objects?
What are the objects of ado.net?
What is difference between ado.net and asp net?