G
Guest
I have a database processing code that occurs and during the loop of SqlCommands I execute I am displaying a progress bar. I also wanted to get updates what step exactly the progress bar was on
I added a label control and updated the text property of the control with the "title" of the step. When this loops it doesn't work and the text gets updated at the end of the loop (with the last step by passing the previous ones). So I tried a textbox control and that didn't work either. So then I tried a statusbar control and that worked fine...updating the text as the progress went ahead!!
Am I missing something or is there another way to do this ( i.e. another thread, callback delegate). Because it seems that .NET is posponing this update at a later time.
I added a label control and updated the text property of the control with the "title" of the step. When this loops it doesn't work and the text gets updated at the end of the loop (with the last step by passing the previous ones). So I tried a textbox control and that didn't work either. So then I tried a statusbar control and that worked fine...updating the text as the progress went ahead!!
Am I missing something or is there another way to do this ( i.e. another thread, callback delegate). Because it seems that .NET is posponing this update at a later time.