Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the difference between sqldatareader and sqldataadapter?

969


how to create a quiz software using 4 options to answer and how to check with answers in the database and award marks....

4456


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

1161


What is the use of SqlCommand object?

1229


What is partial class?

984


What is an ado?

984


What you mean by filtering of data?

966


What is a column variable?

938


Which object is used to add relationship between two Datatables?

1045


Explain ado.net features?

1050


How is entity framework different from ado.net?

952


What is the difference in an abstract class and an interface?

1009


What is a sqldataadapter?

998


How to add a javaScript function in a datagrid?

1132


Is bulk insert faster than insert?

920