| What DataReader class do in ADO.NET
To get read-only and forward only access to data we use DataReader .The DataReader object reduces the system overhead because one row at a time is taken into memory so it is quite lightweight. To get second object connection is reconnected. We can create a DataReader object by execute Execute reader() method. There are two Data Reader class one is SqlDataReader and other is OleDbDataReader. | | |