How do you check if it is open or closed I was using
if (SQLOperator.SQLCONNECTION.State.Equals(\"Open\"))
however, even the State is \'Op
To check the database connection state you can just simple do the following
if(con.State == ConnectionState.Open){}