使用For循环的UpdateProgress [英] UpdateProgress using For Loop

查看:97
本文介绍了使用For循环的UpdateProgress的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的aspx文件中有一个UpdateProgress,其中有一个带有文本正在加载..."的标签控件",在我运行代码时,我的代码中有一个"for循环".
虽然此循环继续进行,但我想在更新进度中显示当前行号,以便用户可以看到剩余行数,直到结束为止.

I have an UpdateProgress in my aspx file, which has a "label control" in it with a text "Loading...", while I run my code, there is a "for loop" in my code.
While this loop continues, I want to show the current row number in my update progress, so that user can see how much rows left until it ends.

推荐答案

您可以使用ajax和jquery解决您的问题....

http://t.wits.sg/misc/jQueryProgressBar/demo.php [ ^ ]

http://www.dreamincode.net/forums/topic/119029 -aspnet-ajax-with-continuous-progress-bar/ [ http://mattberseth.com/blog/2008/05/aspnet_ajax_progress_bar_contr.html [ ^ ]
for this you can solve your problem using ajax and jquery....

http://t.wits.sg/misc/jQueryProgressBar/demo.php[^]

http://www.dreamincode.net/forums/topic/119029-aspnet-ajax-with-continuous-progress-bar/[^]

http://mattberseth.com/blog/2008/05/aspnet_ajax_progress_bar_contr.html[^]


这篇关于使用For循环的UpdateProgress的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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