Difference between Dataset and DataReader ?

Answer Posted / kamlesh sharma

The DataSet consists of DataTable objects
that you can relate to each other with DataRelation
objects (and dataset is disconnected data model)

The datareader is connected model(connection must be open
while operation performs)
and it is state forward read only counter part of ADO.net

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is viewstate? What does the "enableviewstate” property do? Whay would I want it on or off?

527


Explain the main function of razor in asp.net? : asp.net mvc

589


Explain the boxing and unboxing concept in .net?

393


What are ASP.NET Web Forms? How is this technology different than what is available though ASP?

941


Which object wraps the state or data of a user?

552






Define repository pattern in mvc.net? : asp.net mvc

517


What is custom events? How to create it?

627


What is an example of an application service provider?

456


How to create events for a control?

551


What is the use of express session?

543


What do you mean by authentication?

528


Can you edit data in the Repeater control? Which template must you provide, in order to display data in a Repeater control? How can you provide an alternating color scheme in a Repeater control? What property must you set, and what method must you call in your code, in order to bind the data from some data source to the Repeater control?

556


What is the advantage of mvc over asp.net? : Asp.Net MVC

509


explain code with datachaching with example

1699


What is cookies in asp net?

523