What Is The Difference Between A Datareader And A Dataset?
Answer»
DataReader
DatReader works on a Connection oriented architecture.
DataReader is READ only, forward only. It reads one record at atime. After DataReader FINISHES reading the current record, it moves to the next record. There is no way you can go back to the previous record. So using a DataReader you read in forward direction only.
Updations are not possible with DataReader.
As DataReader is read only, forward only it is MUCH faster than a DATASET.
DataSet
DataSet works on disconnected architecture.
Using a DataSet you can move in both directions. DataSet is bi directional.