Interviews5 answers
What DataReader class do in ADO.NET ?
5 Answers
Datareader is based on connected architecture and holds the records fetched using command object.
Bharathi RajaPosted Jan 31, 2018, 11:07 PM EST
1)Works on Connection Oriented Architecture. 2)Read-Only Access. 3) Only Foreword Directional.
Sandeep SinghPosted Sep 16, 2016, 6:41 AM EDT
datareader is use to fatch the data from database , it always connected to database, its a connected architecture.
Munesh SharmaPosted May 3, 2016, 10:26 AM EDT
Datareader is based on connected architecture and holds the records fetched using command object.
Sunil BabuPosted Apr 3, 2016, 3:10 AM EDT
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 readre() method. There are two Data Reader class one is SqlDataReader and other is OleDbDataReader.
Samir BhogaytaPosted Sep 3, 2015, 4:06 AM EDT




