BackgroundWorker - C#

Posted by Lars on Stack Overflow See other posts from Stack Overflow or by Lars
Published on 2011-03-11T15:54:15Z Indexed on 2011/03/11 16:10 UTC
Read the original article Hit count: 432

Filed under:
|

Hi. Iam developing a multithreading application using BackroundWorker. In the Do_Work method I call another method, in that method I add alot of data into a list using a while-statement. My goal is to add all the data that in the list to show in a GridView. How can I do that so every time data adds to the list, the gridview uppdates? Instead of waiting that the while-statement has runned finished. When the while-statment adds a value to the list, the value adds into the gridview?

It must be in the ProgressChanged, but I dont know how to do that :S

Many thanx in advance. /Lars

© Stack Overflow or respective owner

Related posts about c#

Related posts about list