Answer Posted / sanchit yadav
Because it inherites the IEnumerable.IEnumarble contains
the method(getenumerator) its type is IEnumerator it
returns the instance of IEnumerator that implements in a
class that contains three methods current(),movenext(),
reset().Ist call the current() than movenext() move first
tuple to last tuple in the table than call reset() than
cursor moves on the current().So,DataReader works in
forward only and Read only manner.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the difference between data grid and data repeater?
How can we check that some changes have been made to dataset since it was loaded?
What are two important objects of ADO.Net?
What is the difference between ado.net and entity framework?
What are dataproviders?
If a table contains 20000 records . In a page at each time 100 records to be displayed what are the steps you will take to improve performance? Will you use dataset or datareader?
Give few examples of datareader that is used in different dataproviders.
What is ado or jdbc?
What is the default provider in ado.net?
What are the parameters that control most of connection pooling behaviours?
What Is Difference Between Ado And Ado.net?
Define data access layer?
How to pass multiple tables in datasets simultaneously?
Which one of the following objects is a high-level abstraction of the connection and command objects in ado.net?
What is oledb driver?