How to check if a datareader is closed or opened?



How to check if a datareader is closed or opened?..

Answer / sesha

use this method
.Isclosed()

Is This Answer Correct ?    20 Yes 2 No

Post New Answer

More ADO.NET Interview Questions

Explain all the classes those are used for database connections between sql server and asp.net?

0 Answers  


How would u connect to database using .NET?

5 Answers   TCS, Tesco,


What are the difference between readonly vs. Const?

0 Answers  


What is the use of Dataview?

0 Answers  


The answers which posted above is not satisfied my requirement? Can some one post teh exact answer? Thanx

0 Answers  






What is datasource in ado.net?

0 Answers  


How to generate a single aggregate?

0 Answers  


What is the difference between Optimistic and Pessimistic locking?

0 Answers  


How is entity framework different from ado.net?

0 Answers  


What is ado object model?

0 Answers  


What are the steps you will take to improve performance? Will you use dataset or datareader?

0 Answers  


What is the difference in an abstract class and an interface?

0 Answers  


Categories