问题
Is there a relatively simple way that my VB.NET application can be notified of the fact that a new value has been written to a table in SQL Server Express 2008? Polling is not an option since I'd need to do that every 10 seconds nonstop.
回答1:
Take a look at having your application subscribe to Query Notifications.
Also Using Query Notifications in .NET 2.0 to handle ad-hoc data refreshes
来源:https://stackoverflow.com/questions/6617278/how-can-sqlserver-notify-a-vb-net-application-of-an-event