using (OracleConnection connection = new OracleConnection(ConnectionString)) { connection.Open(); //<-- must have //rest of code omitted }
if (myConnection != null && myConnection.State == ConnectionState.Closed) { myConnection.Open(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)