C# UpdateProgress which displays a variable from the running code?
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?
精彩评论