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

What is ambient transaction?

942


What are the parameters that control most of connection pooling behaviours?

1070


What are ado.net objects?

1105


Explain the role of data provider in ado.net?

987


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

1042


What are the rules to implement connection pooling?

1064


What is data adapter in ado.net with example?

1025


Explain the various objects in dataset.

989


What are all the different authentication techniques used to connect to MS SQL Server?

1077


How do you implement locking concept for dataset?

991


What are the namespaces used in ADO.Net to connect to a database?

1203


What is ole db query?

984


differance between ADO vs ADO.Net?

1058


How do we use stored procedure in ADO.NET and how do we provide parameters to the stored procedures?

966


What are the essential features of ado.net?

948