How can I check if I have a connection open (to my DB)?
In classic ASP, I used this
What can I use in ASP.NET?Code:If objRS.State <> "0" Then objRS.Close
This doesn't work;
VB Code:
Dim objDataReader as OleDbDataReader 'now this doesn;t work If objDataReader.State <> "0" Then objDataReader.Close()
Anyone has an idea?
Thanks




Reply With Quote