向用户发送通知 [英] send notification to user
本文介绍了向用户发送通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我想知道如何实现我的场景.
我的表有一个datetime字段,并且我希望基于该日期时间向用户发送通知.
例如.我的表格内的到期日是2010年8月30日.
如果当前日期是2010年8月31日,那么我希望系统自动发送通知.
将不胜感激.
预先感谢,
Kyi Kyi
Hello all,
I''d like to know how to implement my scenerio.
My table has a datetime field and, based on that datetime, I want to send notification to the users accordingly.
E.g. The due date is 30-08-2010 inside my table.
If current date is 31-08-2010 then I want the system to send notification automatically.
Will appreciate the answers.
Thanks in advance,
Kyi Kyi
推荐答案
如果DateTime.Now>然后,进行DueDate(做某事).
If DateTime.Now > DueDate then (Do Something).
嗨
为此,请设计一个将在系统中运行的Windows服务.
以一种监视包含日期时间字段的SQL表的方式进行设计.
现在使用Dalek Dave的逻辑(如果DateTime.Now> DueDate然后{发送通知}
希望这对您有帮助...
问候,
Suresh
Hi
For this situvation, design a Windows Service which will run in the system.
Design in such a way that it monitors the SQL table which contains datetime field.
Now using Dalek Dave''s logic ( If DateTime.Now > DueDate Then {Send Notification}
Hope this might help you...
Regards,
Suresh
这篇关于向用户发送通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文