Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void switchTriggerON()
- {
- conectar();
- MySqlCommand cmd = new MySqlCommand();
- cmd.CommandText = "ALTER TRIGGER actualizacionCurso ENABLE;"; /DISABLE cuando quiero desactivarlo.
- cmd.Connection = conexion;
- cmd.ExecuteNonQuery();
- conexion.Close();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement