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...

once data is fetched into dataset connection gets closed. but in datareader
connection is always maintained...then why datareader is fast and mainly
recommended ?

Answer Posted / hhh

DataSet carry considerable overhead because of relations,
multiple tables,
While DataReader only readony and fawardonly stream of
data, it fatch only one row at a time. thats y its faster

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give few examples of datareader that is used in different dataproviders.

926


How to generate a single aggregate?

940


What does ole stand for in excel?

1063


What are the important features of ado.net 2.0?

1018


Does entity framework use ado.net?

922


What is the procedure to call a Stored Procedure of Back End in ADO (ActiveX Data Object) and RDO (Remote Data Objects)?

996


describe the dataset object in ado.net.

904


Give an example of a .net application which connects to microsoft access database using ado.net classes.

1076


How do you update database through dataset?

935


What are the different ado.net namespaces?

1015


What is the difference between executequery and executenonquery?

867


How we can provide data to ado.net?

977


How to add a check box or a dropdown list to a column in a datagrid?

922


How to pass multiple tables in datasets simultaneously?

1011


How can I retrieve two tables of data at a time by using data reader?

932