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

What is ado rdo dao in visual basic?

887


What are the ado.net connection pooling parameters?

666


What is executequery?

697


What are the Features of a dataset

895


What is execute reader in ado.net?

697


How to Read, Add, Update and Delete record in Entity Framework ?

793


Explain sqlconnection object?

767


How to read data with the sqldatareader ?

744


Which database is the ado.net sql connection object designed for?

820


What is the difference between sqlcommand and sqldataadapter?

727


Why do we serialize data?

704


Explain ado.net features?

784


Explain the difference between ado and ado.net?

700


Explain the difference between data reader and data adapter?

715


What is variable view?

676