Hello,
I need help for following question.
I want to get notification when there is any update in Database in Sql Server.
Is there any Idea to do this ?
If you are suggesting about SqlDependancy then Plz Provide full example.
Thanks....
Loading


Riddhi ValechaRank #794 · 2.9K reputationPosted May 10, 2013, 5:13 AM EDT
There is a control - NotificationIcon in Windows application. Use that.
--
Eg- take 2 or 3 *.ico files.
Set the Icon Property through coding part.
-----
Ajay Patel148 reputationPosted May 13, 2013, 3:46 AM EDT
But this reply doesn't match with my question.
you have replied for how to show notification.
Riddhi ValechaRank #794 · 2.9K reputationPosted May 13, 2013, 7:43 PM EDT
Can you explain the scenario in details??
As far as I understand, your requirement is-
Whenever any DML(Data Manipulation Language) Query (Eg-Insert; Update; Delete) is fired, the user should know about it.
Is this all ?? Or is there any other requirement??
Ajay Patel148 reputationPosted May 14, 2013, 4:33 AM EDT
Riddhi ValechaRank #794 · 2.9K reputationPosted May 14, 2013, 8:30 PM EDT
Database Design -
TableName-Person
----------
ID;pk;autoincrement;
FName;varchar(50);
LName;varchar(50)
Age;int
------------
Change the connection string.
-----------
Rest code is attached.
Ajay Patel148 reputationPosted May 16, 2013, 3:19 AM EDT