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

Difference between datareader and dataset?

Answer Posted / abhijeet kumar sharma

DataReader is faster for read data.DateReader is readonly
propurse,DataReader read data between reader Read() and
close() methods.When we read data from database help of
DataReader then database connection is must open.

DataSet is disconnected architecture. We store multiple
data at a time in dataset.

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ambient transaction?

892


What is the difference between Response.Expires and Reponse.ExpiresAbsolute?

981


What are the steps to connect to a database?

979


What is the difference between connected and disconnected environment?

1013


If a table contains 20000 records . In a page at each time 100 records to be displayed what are the steps you will take to improve performance? Will you use dataset or datareader?

1010


What is shadow copy?

936


What is datatable in ado.net?

923


Why is it important to close an ado.net application?

970


What does executenonquery () method return?

880


What is the role of the dataset object in ado.net?

1061


How to maintain the relation between two tables in ADO.NET?

954


What is the return type of executescalar?

939


What are the different namespaces used in the project to connect the database? What data providers available in .net to connect to database?

1277


What is the role of data provider in ado.net?

943


What is the difference in an abstract class and an interface?

952