role of the DataReader [Resolved]

Posted by Saranya Boopathi under C# on 6/26/2013 | Points: 10 | Views : 764 | Status : [Member] | Replies : 2
What's the role of the DataReader class in ADO.NET connections?

Saranya Boopathi


Responses

Posted by: aswinialuri-19361 on: 6/26/2013 [Member] Starter | Points: 50

Up
0
Down

Resolved
Hi Saranya,

DataReader:It is ado.net connected architecture
Execute Reader: is used to return the set of rows, when execute SQL Query, Stored procedure using command
object
DataReader object is much faster than data set while fetching a record.

Mark as Answer if it helps you
Thanks&Regards
Aswini Aluri

Saranya Boopathi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Satyapriyanayak on: 6/27/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
DataReader provides forward-only and read-only access to data
Datareader is connected architecture.
Datareader can not persist contents , they are forward only.

If this post helps you mark it as answer
Thanks

Saranya Boopathi, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response