Answer Posted / sachin gupta
Because it inherit DbDataReader Abstract Class and
DbDataReader Abstract Inherit the IEnumerable and its give
GetEnumerator(Returns an enumerator that iterates through a
collection.)its Type IEnumerator and IEnumerator gives
MoveNext() Method so Datareader is Forward only.
| Is This Answer Correct ? | 25 Yes | 1 No |
Post New Answer View All Answers
How can we perform transactions in .net?
Why is stored procedure used in ado.net?
Explain the difference in an abstract class and an interface?
What is method to get XML and schema from Dataset? getXML() and get Schema ()
What is the default Timeout for SqlCommand.CommandTimeout property?
What does executenonquery () method return?
What is the difference between executenonquery () and executescalar ()?
Which object needs to be closed?
How to pass values into a datatable?
What are dcl commands?
How to generate a single aggregate?
What is a sqldataadapter?
What is Data view?
What are the methods of XML dataset object?
What are the ado.net components?