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 all components of ADO.Net data provider?

1030


What you mean by filtering of data?

928


Explain what is datagrid with an example?

1054


What is two way data binding android?

940


How we can provide data to ado.net?

1000


What is data control techniques?

912


Explain ado.net features?

1005


What is the difference between SqlCommand and SqlCommandBuilder?

1029


What is dataadapter in ado.net?

896


What is the difference between connected and disconnected environment?

1048


What is sqlconnection and sqlcommand?

1035


What is meant by ‘transaction’ in a database and what are the ‘properties of transaction’?

962


What do you mean by performing asynchronous operation using command object?

989


Explain the difference between data reader and data set?

894


How to retrieve the user id which is provided while windows authentication?

1066