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

It returns a read-only dataset from the data source when the command is executed.

Showing Answers 1 - 4 of 4 Answers

swag

  • Dec 24th, 2005
 

When the command is executed it provides a read-only farward-only dataset from the datsource which requires a connection to be open.

  Was this answer useful?  Yes

Rahul Prashant Singh

  • Oct 14th, 2007
 

DataReader Class represents a read-only and forward-only stream of data.
An instance of this class is used to hold the data returned by executing the Select statement in the DBCommand object using Executereader() method of the DBCommand Class.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions