//Close connection public bool CloseConnection() { try { if (_connection.ConnOpend()) { _connection.Closeconn(); } return(true); } catch (MySqlException ex) { MessageBox.Show(ex.Message); return(false); } }
//Close connection public bool CloseConnection() { try { if (_connection.ConnOpend()) { _connection.Closeconn(); } return(true); } catch (MySqlException ex) { MessageBox.Show(ex.Message); return(false); } }