Dim cn As OracleConnection cn = New OracleConnection(ConnStr) cn.Open()
Dim cn As OracleConnection cn = New OracleConnection(ConnStr) cn.Open() If (cn.State And ConnectionState.Open) > 0 Then 'Do whatever you want cn.Close() Else 'Oops, it an't open End If
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)