Difference between datareader and dataset ?

Answer Posted / harsh v m

DataReader acts like Readerset of ADO.In ADO.NET we make
use of Datasets & in ADO, Readersets are used.

DataReader is read only,forward only type and Dataset is
disconnected type that can store more than one table.Hence
Datareaders are used for reading some data from database
only,but not for updating the data.Whereas Datasets can be
used for later purpose.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to store checkbox value in database in asp.net mvc? : Asp.Net MVC

736


What is difference between web config and global asax?

682


What is the part of url?

760


In how many ways we can retrieve table records count?

787


What is the difference between a multi-layer and multi-tier applications?

817


How can we Validate a Controls in ASP.NET page using JavaScript?

876


What are the benefits of view state?

771


How can you register a custom server control to a web page?

781


What are the best practices to follow to secure connection strings in an ASP.NET web application?

809


How do I create a web form?

752


What is server transfer?

714


What are the main requirements for caching?

799


Explain server side state management system.

772


Which two new properties are added in asp.net 4.0 page class?

733


Explain the different parts that constitute ASP.NET application?

804