开发者

C# UpdateProgress which displays a variable from the running code?

开发者 https://www.devze.com 2022-12-22 03:34 出处:网络
I have 开发者_Go百科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 continue

I have 开发者_Go百科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.

How can I do that ?

Thanks.


Maybe it's good to use BackgroundWorker here?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号