Answer Posted / nevin jain
from all 11 above answer only Sachin Gupta have given write
answer...
becoz SqlDataReader inherit DbDataReader whose base type is
IEnumerable that use to access collection through simple
iteration which is forward only manner...
Basically SqlDataReader Class access records n retrieve them
as collection through simple iteration...
to make more clear first read Functionality of IEnumerable
interface that expose GetEnumerator() method...
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Explain the difference between data reader and data set?
What is the difference between executenonquery () and executescalar ()?
How to pass values into a datatable?
What are the different execute methods of Ado.Net?
What are the types of databinding?
What is the usage of the dataset object in ado.net?
Explain advantages of ado.net?
What is the maximum pool size in ado.net connection string?
Data reader read and forward only, how is it possible to get 2 tables of data at a time?
What are the steps you will take to improve performance?
What is basic use of data view?
What is dbcontext and dbset in entity framework?
Explain how to create dynamic gridview?
What are advantages of microsoft-provided data provider classes in ado.net?
I loaded the dataset with a table of 10 records. One of the records is deleted from the backend, how do you check whether all the 10 records were present while updating the data(which event and steps) and throw the exception 28 can datareader hold data from multiple tables?