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 microsoft ado.net?

1222


What is ado in agriculture?

1009


How to creating a SqlCommand Object?

1197


What is adodb dll?

1049


Which is the best method to get two values from the database?

1013


What is ole db query?

1024


What is commandbuilder in ado.net?

1100


Which is faster sqldataadapter and sqldatareader?

979


Command objects uses, purposes and their methods.

1025


What is datatable in ado.net?

1007


What does ole stand for in excel?

1194


What is the difference between oledb sql server and oledbdotnet provider?

1056


What is datasource in ado.net?

1123


What are the difference between readonly vs. Const?

1059


What are the connected and disconnected modes in ado.net?

962