public void ExecuteNonQuery(string query) { db.OpenConnection(); db.ExecuteNonQuery(query); db.CloseConnection(); }