Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. public void switchTriggerON()
  2. {
  3. conectar();
  4. MySqlCommand cmd = new MySqlCommand();
  5. cmd.CommandText = "ALTER TRIGGER actualizacionCurso ENABLE;"; /DISABLE cuando quiero desactivarlo.
  6. cmd.Connection = conexion;
  7. cmd.ExecuteNonQuery();
  8. conexion.Close();
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement