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 ado.net and entity framework?

1093


How can we load multiple tables in a dataset?

1235


What are the different execute methods of Ado.Net?

1059


What is difference between ado.net and asp net?

1087


What is the default Timeout for SqlCommand.CommandTimeout property?

1063


What is ado circle?

1183


Explain the difference in record set and dataset?

990


What is ado.net object model?

1028


Define executenonquery?

958


I loaded the dataset with a table of 10 records. One of the records is deleted from the backend, how do you check whether all the 10 records were present while updating the data(which event and steps) and throw the exception 28 can datareader hold data from multiple tables?

1080


What is Dataset Object?

1054


Explain the dataadapter class in ado.net?

1263


Explain the difference between data reader and data set?

964


What are all the different methods under sqlcommand?

1027


Explain how to copy the contents from one table to another table and how to delete the source table in ado.net?

912