稍后更新命令 [英] Update command at a later time

查看:140
本文介绍了稍后更新命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个用户可以更新数据的页面。它在asp.net中使用notmal sqlserver update命令(C#)



这样的更新命令会立即点击按钮完成工作。



现在我想让用户自由选择数据应该更新的时间而不是立即点击按钮。



服务器是否可以通过文本框或日历记录用户在DateTime格式中给出的时间,并在所选时间执行更新。



任何类型的帮助无论代码或任何使用jquery或ajax的教程或提示都会有所帮助。



谢谢。

解决方案

< blockquote>是的,Wes是正确的。您必须将其保存在文件或数据库中的某个位置。然后你应该运行一个预定的Windows应用程序,它会不断检查存储的数据并相应地工作。


I have a page where users can updae their data. It uses notmal sqlserver update command in asp.net(C#)

Such update commands do the work immediately on click of button.

Now i want to give a liberty to users to select a time at which the data should be updated and not immediately on click of the button.

Can a server keep a note of the time given by users in DateTime format through text box or calender and execute update at that selected time.

Any kind lof help whether code or any tutorial or hint to use the jquery or ajax would be helpful.

Thanks.

解决方案

Yes, Wes is correct. You have to save that somewhere either in file or database. Then you should run a Scheduled Windows App, that would constantly check the stored data and work accordingly.


这篇关于稍后更新命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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