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

What is the difference between asp.net mvc and asp.net webforms? : asp.net mvc

782


Is data edited in the Repeater control?

804


What is the difference between cache and cookies?

730


Write a code snippet to implement the indentation in json in web api.

802


What are server objects?

724


Explain the use of dataadapter.

826


What is asp short for?

755


What is the difference between login controls and forms authentication?

751


Give 2 examples for scenarios when routing is not applied?

807


What are the types of authentication in asp.net?

725


Explain the asp.net mvc folder conventions? : asp.net mvc

733


9. Why should we hire you over the others waiting to be interviewed?

2481


What is the difference between globalization and localization?

689


Explain how do you validate the controls in an asp .net page?

703


How many types of Cookies are available in ASP.NET?

828