Home > Interview Questions > ADO.NET > How can you identify whether a DataReader is closed or opened?

How can you identify whether a DataReader is closed or opened?

by Thamil   on 12/08/2014   Category: ADO.NET   |  Level: Beginner   |  Views: 1384    |  Points: 25     |  Gold 


By using IsClosed property we can verify whether datareader is open or closed. If datareader is closed then return value would be true else return value would be false.


« Which property is used to turn on sorting in asp.net Gridview control?
» What is the use of Iframe in HTML?
Post Question  |  Question Home

Recent Posts

User Responses


No response found, be the first to review this question.

Submit feedback about this code snippet

Please sign in to post feedback

Latest Posts