简体   繁体   中英

How to synchronously notify C# client of any data changes in a SQL Server database

I have a desktop application running on multiple PCs. When I insert a new record, how to update other client's file_Id C# SQL Server textbox? Is there any method or trigger that SQL Server notifies the client of any data that has changed?

There is no such thing, you might wanna check the tables on an interval of let's say 2 seconds. SQLs are a protocol for storing data, not data communication.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM