如何在C#中创建警报 [英] How to create alert in c#

查看:150
本文介绍了如何在C#中创建警报的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

推荐答案

最好告诉您有关应用程序上下文的更多信息.

It will be better if you tell more details about the context of your application.

第二个用户"何时出现该怎么办?将他的数据提交给数据库进行保存或更新,然后用一条消息提醒他,例如原始数据已更改,您要覆盖还是获取?".这可以通过保持 原始行的原始数据/日期修改值,以及在您提交新数据"之前与数据库进行比较和验证.

What about when the "2nd user" submits his data to the DB for save or update, then you alert him with a message for example "The original data has changed, would you like to override or retreive?". That can be achieved by keeping the original data/ date modified value for the original row and before you submit the "new data" to the DB you do a compare and validate. 

说您想立即向用户发出有关更改的警报,您可能需要查看以下解决方案: https://msdn.microsoft.com/zh-CN/library/62xk7953(v=vs.110).aspx

Saying that you want to alert the user immediately about the changes you may need to look at a solution like: https://msdn.microsoft.com/en-us/library/62xk7953(v=vs.110).aspx


这篇关于如何在C#中创建警报的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆