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 / 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?

867


What is the difference between executenonquery () and executescalar ()?

881


How to pass values into a datatable?

1051


What are the different execute methods of Ado.Net?

970


What are the types of databinding?

924


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

910


Explain advantages of ado.net?

997


What is the maximum pool size in ado.net connection string?

882


Data reader read and forward only, how is it possible to get 2 tables of data at a time?

857


What are the steps you will take to improve performance?

837


What is basic use of data view?

938


What is dbcontext and dbset in entity framework?

863


Explain how to create dynamic gridview?

916


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

942


I loaded the dataset with a table of 10 records. One of the records is deleted from the backend, how do you check whether all the 10 records were present while updating the data(which event and steps) and throw the exception 28 can datareader hold data from multiple tables?

964