DataReader & Connection

TookiTooki

New member
Joined
Aug 14, 2003
Messages
4
Location
Belgium
Hi everyone,

Im writing a web application that makes a connection to a sql server.
Only one datareader can be associated with a connection... how can one quickly see if theres an open datareader attached to a connection?

Greetz,
Tooki
 
you can check the connection...

Code:
If mySqlConn.State = ConnectionState.Closed Then
      mySqlConn.Open()
endif
 
Back
Top