Explain different methods and Properties of DataReader which
you have used in your project?

Answer Posted / tiger kumar

There are plenty of methods and properties in the datareader.

1.Read()
2.Load()
3.IsClosed
4.NextResult()
4.HasRows
6.GetString(),GetDecimal(),GetDouble(),etc..,
7.FieldCount
8.Close()
9.Dispose()

etc..,

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible to edit data in Repeater control?

528


What is sql connection in ado.net?

496


What is openrowset?

494


What is openquery?

529


Explain the DataAdapter.Update() and DataSetAcceptChanges() methods.

526






What is the provider being used to access oracle database?

499


Describe connection object in ado.net

539


How to connect and retrieve data from database using dataset

534


Explain the different row versions available in table?

548


What is ado.net tutorial?

501


What is different between sqlcommand object and command behavior object?

539


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?

549


What is executequery?

496


What is ole used for?

495


What are the rules to implement connection pooling?

506