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 the difference between DataReader and DataSet in ADO.NET?

1100


What is difference between ado.net and asp net?

995


What is method to get XML and schema from Dataset? getXML() and get Schema ()

942


How can I retrieve two tables of data at a time by using data reader? Data reader read and forward only, how is it possible to get 2 tables of data at a time?

932


What are the disadvantages of using datalist?

991


Define atomicity?

981


Give an example that shows how to execute a stored procedure in ado.net?

1035


What is microsoft ole db provider for sql server?

883


What is ole in vb?

866


What are the objects of ado.net?

1032


What is the difference between sqlcommand and sqldataadapter?

965


What is variable view?

838


What is the full form of ado?

954


Which is faster ado.net or linq?

974


What are the drawbacks of using ado.net?

936