如何在 ASP.NET 网页中使用进度条跟踪 SQL 更新的进度
如何在 asp.net 网页中使用进度栏跟踪 SQL 更新的进度?我需要运行一个查询来更新数据库中的表。单击开始按钮时,网页将显示更新数据库的进度.我尝试了ajax控件,但不确定sql查询应该放在哪里。
How to track the progress of a SQL update using progrss bar in asp.net web page?I need to run a query which will update a table in a database .the web page will show the progress while updating database when the start button is clicked.I tried the ajax controls but am not sure where the sql query should be placed.
无论您在幕后执行什么操作,每个进度条都以相同的方式工作。
看看这篇非常好的文章,逐步解释如何实现进度条: 有效使用UpdateProgress控件
Every progress bar works in the same manner, no matter what you are performing behind the scenes.
Take a look at this very good article, explaining step by step, how you can implement the progress bar: Using UpdateProgress Control Effectively