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 ado.net architecture?

894


What is data view and variable view?

863


What is the hierarchy of data in databases?

909


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

969


How to work with disconnected data - the dataset and sqldataadapter?

949


How do you merge 2 datasets into the third dataset in a simple manner?

956


Which method is used by command class to execute SQL statements that return single value?

997


Explain how to create dynamic gridview?

929


What is the difference between ado.net and oledb?

918


Which is faster ado.net or linq?

968


What is the use of sqldatareader class?

952


What do you know about ado.net's objects?

956


Explain what are acid properties?

932


What is difference between executenonquery and executequery?

921


What do you know about ADO.NET's objects and methods?

915