ORA-06413: Connection not open.
Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.161.50.101)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=MOUAT)));Password=password;User Id=username;
public OracleConnection ConnectDB(OracleConnection dbConnection) { try { if (dbConnection.State != ConnectionState.Open) { dbConnection.Open(); } return dbConnection; } catch (DbException exp) { return null; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)