如何暂停/停止更新 [英] How to pause/stop an update

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

问题描述

我可以问一下,当符合某个条件时,如何暂停/停止更新事件(点按按钮)。例如,当值> 100,更新将不会继续。该计划将停止。是否有任何函数,如update.Pause()或update.Stop()?



p / s。 --update将是sql更新到数据库中(成功)

- 暂停/停止当要更新的值(例如,天数> 7),那么事件将是

停止。

Hi, may i ask how can i pause/stop an update event from firing(which is button click) when it meet a certain criteria. For example, when a value is > 100, the update will not proceed. The program would stop. Is there any function like update.Pause() or update.Stop()?

p/s. --update would be the sql update into database(successful)
--pause/stop when the value to be updated(eg. number of days > 7), then the event would be
halted.

推荐答案

没有人知道你在谈论什么。更新WHAT和你如何做这个更新?如果不回答这个简单的问题,你永远不会得到答案。
Nobody has any idea what you're talking about. Update of WHAT and HOW are you doing this update?? Without answering that simple question, you'll never get an answer to yours.


这篇关于如何暂停/停止更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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