Why DataReader is Forward Only?

Answer Posted / nevin jain

from all 11 above answer only Sachin Gupta have given write
answer...
becoz SqlDataReader inherit DbDataReader whose base type is
IEnumerable that use to access collection through simple
iteration which is forward only manner...

Basically SqlDataReader Class access records n retrieve them
as collection through simple iteration...

to make more clear first read Functionality of IEnumerable
interface that expose GetEnumerator() method...

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between data reader and data set?

482


What are dataproviders?

543


How to check if the Dataset has records ?

528


Why edit is not possible in repeater?

514


Describe datareader object of ado.net with example.

506






What is the use of adodc?

522


What does ado stand for in ado.net?

448


What is difference between datatable and dataset?

517


Explain the role of data provider in ado.net? What is the role of data provider in ado.net?

521


What are the uses of Stored Procedure?

549


What is shadow copy?

570


What is ole in excel?

512


What is the difference between DataReader and DataSet in ADO.NET?

585


What DataReader class do in ADO.NET ?

579


Explain what is datagrid with an example?

579