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

What is connection pooling and what is the maximum pool size in ado.net connection string?

698


What are the advantage of ado.net?

712


Explain the role of data provider in ado.net?

727


List the 4 common ado.net namespaces?

859


Why is stored procedure used in ado.net?

749


Explain advantages of ado.net?

787


Which is better ole db or odbc?

662


What are the namespaces used in ADO.Net to connect to a database?

783


Data reader read and forward only, how is it possible to get 2 tables of data at a time?

665


What is the full form of ado.net?

733


Which method is used to sort the data in ADO.Net?

1726


How do you find the count of records in a dataset?

663


Which is the feature of ado.net?

723


What is connection in ado.net?

696


What is maximum pool size in ado.net connection string?

710