Search This Blog

Sunday, 23 February 2014

What is difference between dataset and data reader?

Following are some major differences between dataset and data reader:- Data Reader provides forward-only and read-only access to data, while the Dataset object can hold more than one table (in other words more than one row set) from the same data source as well as the relationships between them. Dataset is a disconnected architecture while data reader is connected architecture. Dataset can persist contents while datareader cannot persist contents, they are forward only. 

Refernce from:-
.NET Interview Questions 4 th Edition By Shivprasad Koirala

No comments:

Post a Comment

Angular 6 tutorial for beginners

Angular 6 tutorial for beginners