Click here to Skip to main content
15,888,037 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I want execute a code in c#, when added a row to a table of sql.
I can not use Timer to check table in sql and when add rows to it execute code Because speed of my programs be very low.

can I Implementate a code same triger of sql in c#?
Posted
Updated 27-Oct-14 19:12pm
v2
Comments
Robert Welliever 28-Oct-14 1:06am    
Can you please rephrase your question in English?
sahar11 28-Oct-14 1:32am    
Excuse me for my english languege.

I want send and recive message via my form and save these messages in a table in sql. I want notificate to user when a message send for his.
How can I understand (ontime) that a message save in my table?

1 solution

This is the operation you are looking for NotificationService[^]. I have never used it and the little information I have heard has been negative!
 
Share this answer
 
Comments
sahar11 29-Oct-14 1:38am    
HiThanks a lot.This was helpful solution. My problem solved.

Best regards,

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