How to call triggers from vb code?
Printable View
How to call triggers from vb code?
Do you mean database triggers?
If so, I don't think you can call them from code - they get triggered automatically by the RDBMS when you perform an Insert, Update, Delete on a table.
If you want to be able to reuse the functionality, what you could do is take the functionality out of the trigger and put it into a stored procedure. Then you can call the SP from the trigger and the application...