Click here to Skip to main content
15,888,070 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
hii..

How to execute (mysql)trigger in c# at button click?
need simple example..

thanks in advance,
swapnil
Posted
Comments
manognya kota 19-Jan-12 0:10am    
Hi,

Can you tell what event trigger is it?and why do you want to call a trigger on a button click event?

Hi,

You don't call a trigger explicitly... it is called when you insert, update, or delete a row in Table.

So call a SP to do DB changes and let them fire a trigger.
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900