如何在C#Windows应用程序中发送消息? [英] How Do I Send A Message In C# Windows Application?
本文介绍了如何在C#Windows应用程序中发送消息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
hi
i有Windows应用程序,它安装在5台电脑上,我希望用户接收其他消息,消息将保存在Sql server中。我可以这样做吗?
实际上我怎么能听取Sql服务器并理解收到的新消息并将其显示给用户?
hi
i have windows application it is install on 5 pc and i want the user take message for other and the message will be save in the Sql server.how can i do it?
in fact how can i Listen to the Sql server and understand a new message is receive and show it to the user?
推荐答案
你好,
请查看 Squiggle [ ^ ]。
问候,
Hello,
Please have a look at Squiggle[^].
Regards,
这个很有趣或很脏。
在5台电脑上安装Dropbox,让SQL服务器将带有消息的文件写入dropbox文件夹。该文件夹将同步到所有本地PC。 :-)。使用.Net中的文件观察程序组件构建一个侦听器。
This one is funny or dirty as you may.
Install Dropbox on the 5 pc's and let SQL server write a file with the message to the dropbox folder. The folder will Sync to all local pc's. :-) . Build a listener using the file watcher component in .Net.
听到答案
http://dadehnegar.blog.ir/post/using-sqldependency-to-monitor-sql-database-changes [ ^ ]
这篇关于如何在C#Windows应用程序中发送消息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文