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...

What?s the role of the DataReader class in ADO.NET connections?

Answer Posted / ajay singh negi

DataReader object is a simply used to read data from the
result sets and because of this feature we call this object
as forward only or read only cursor. It requires a live
connection with the data source. Threw looping you can
efficiently access all or a part of data from the result
set. Note you cannot directly initialize a DataReader
object. Execute reader method of the command object is used
to obtain a valid DataReader object. After using DataReader
you need to close the connection otherwise it is stayed
alive and it is explicitly closed.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

908


What is execute scalar in ado.net?

907


What is bubbled event can you please explain?

971


What is the difference between dataset and datatable?

938


What is ole db and odbc?

860


How is entity framework different from ado.net?

907


Explain the DataAdapter.Update() and DataSetAcceptChanges() methods.

949


What are the Data providers in ADO.Net?

956


What is XML serialization

983


What are the main differences between classic ado and ado.net?

972


Is bulk insert faster than insert?

864


Which is faster entity framework or ado.net?

882


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

970


differences between ADO and ADO.NET

1029


What provider ado.net use by default? Explain the role of data provider in ado.net? What is the role of data provider in ado.net?

923