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 does executereader return?

754


What is difference between datareader and dataadapter?

819


If a table contains 20000 records. In a page at each time 100 records to be displayed.

720


What is ole access?

731


What are disadvantages of microsoft-provided data provider classes in ado.net?

774


What is dao and ado?

727


What is the usage of the dataset object in ado.net?

726


What are advantages of microsoft-provided data provider classes in ado.net?

788


How does ado.net work?

701


Define data adapter?

724


What are the classes in System.Data.Common Namespace?

920


What are the different row versions available in table?

759


What is the use of sqldatareader class?

708


how can implement dropdownlist in particular of dataset when try to update?

2554


What is the difference between Response.Expires and Reponse.ExpiresAbsolute?

822