Hi all I have a BAckground worker and a Datatable. I have a timer also . I am filling the data table in timer and In Backgroundworker_Progress changed I am assigining it to my DataGrid as my DataSource. But even after the process has been completed . My Background worker is not getting Completed .Due to which my application crashes.This happens only when I launch my exe directly
Share
I agree with @Simon. Paste some code so that we understand what might be wrong.
Also, why are you using timer for?
Don’t assign the
DataTableinProgressChangedevent. Do it inRunWorkerCompletedevent. Here is what I think you should do: