Explain the difference between DataSet and DataReader - DOT.NET

Explain the difference between DataSet and DataReader.

- Datareader fetches one row at a time from the datasource. DataSet fetches all data from the datasource at a time to its memory area.

- Datareader is like a forward only recordset. We can traverse through an object in a DataSet to get required data.

- DataReader is read only and can be chosen when the network connection is slow. DataSet is always a bulky object that requires lot of memory space compare to DataReader.
How do we step through code? - DOT.NET
Stepping through the code is a way of debugging the code in which one line is executed at a time.....
What are the debugging windows available? - DOT.NET
The windows which are available while debugging are: Breakpoints, Output, Watch, Autos, Local, Immediate.....
What is a Breakpoint? - DOT.NET
Using Breakpoints you can break or pause the execution of an application at a certain point...
Post your comment