This is a migrated thread and some comments may be shown as answers.
raise trigger event in c#
1 Answer 22 Views
This is a migrated thread and some comments may be shown as answers.
priya nallaperumal
Top achievements
Rank 1
priya nallaperumal asked on 16 Jan 2010, 08:11 AM
how can i raise an event in asp.net when update a table in sql server 2008 ...
just i am creating trigger.. but i don't know how to raise an event in vs2005 c# asp.net while trigger fired.
plz  help me..
thanks..

1 Answer, 1 is accepted

Sort by
0
Mostafa Anoosheh
Top achievements
Rank 1
answered on 09 Feb 2010, 10:57 AM
Hello,
I think you need to use SqlDependency Class
Read more at
Using SqlDependency for data change events
SqlDependency - Creating a Smarter Cache
Using SqlDependency in a Windows Application

Best regards,
Mostafa Anoosheh
Asked by
priya nallaperumal
Top achievements
Rank 1
Answers by
Mostafa Anoosheh
Top achievements
Rank 1
Share this question
or