给定时间段后如何更新方法 [英] how can i update a method after a given time period
本文介绍了给定时间段后如何更新方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我正在使用C#4.0做一个传销项目,我必须计算每个成员的付款.将会在每个周末的凌晨12点自动计算.
我怎么能自动执行而不会发生任何事件,请帮助我.
hi all,
I am doing a MLM project using C# 4.0, I have to calculate the payment of every member. which will be calculate after 12 am of each weekend automatically.
how can i do it automatically without fire any event, plz help me.
推荐答案
如果您使用的是数据库,请使用运行存储过程的作业来触发它做有需要的人.
If you are using a database, fire it using a job that runs a stored procedure to do the needful.
这篇关于给定时间段后如何更新方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文