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
you can also use this
if (SQLCON.State == ConnectionState.Closed) { SQLCON.Open(); }