Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Why DataReader is Forward Only?

Answer Posted / sanchit yadav

Because it inherites the IEnumerable.IEnumarble contains
the method(getenumerator) its type is IEnumerator it
returns the instance of IEnumerator that implements in a
class that contains three methods current(),movenext(),
reset().Ist call the current() than movenext() move first
tuple to last tuple in the table than call reset() than
cursor moves on the current().So,DataReader works in
forward only and Read only manner.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the several execute methods of ado.net?

934


What is dao and ado?

926


What is ado or jdbc?

924


What are the different ado.net namespaces are available in .net?

1011


How to identify the controls which can be used for binding data?

1000


Define the executescalar method?

941


Explain About ado.net components/objects. Usage of data adapters and tell the steps to retrieve data.

1112


What is serialization and de-serialization in .net? How can we serialize the dataset object?

969


What are the key features of ado.net?

1207


What is the difference between ado.net and entity framework?

1052


How to add a javaScript function in a datagrid?

1135


How to load multiple tables into a dataset?

1057


What are dcl commands?

1009


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

893


How can we save all data from dataset?

1004