How can I check if I have a connection open (to my DB)?

In classic ASP, I used this
Code:
If objRS.State <> "0" Then objRS.Close
What can I use in ASP.NET?
This doesn't work;
VB Code:
  1. Dim objDataReader as OleDbDataReader
  2.  
  3. 'now this doesn;t work
  4. If objDataReader.State <> "0" Then objDataReader.Close()

Anyone has an idea?

Thanks