How can SQLServer notify a vb.net application of an event?

孤街浪徒 提交于 2019-12-22 12:26:43

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!