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

What is method to get XML and schema from Dataset? getXML() and get Schema ()

0 Answers  


If a table contains 20000 records . In a page at each time 100 records to be displayed. What are the steps u will take to improve performance? will you use dataset or datareader?

7 Answers  


What is difference between entity framework and ado.net?

0 Answers  


How does ado.net work?

0 Answers  


How to find the given query is optimised one or not?

0 Answers  






When multiple users attempt to modify data at the same time Ex user 1 is updating record at same time user2 deleted record sucessfully.now user1 has press update button . how to handle concurrency

4 Answers   Digital Group,


What are the benefits of using ado.net?

0 Answers  


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.

2 Answers   Fulcrum Logic, Satyam,


What is ado rdo dao in visual basic?

0 Answers  


What is a non query?

0 Answers  


What are the core objects of ADO.NET?

0 Answers  


What we do with the object of ado.net dataset after using it?

0 Answers  


Categories