Friday, 15 March 2013

datagrid - Datatable update in different thread (WPF) -


I have a Datatable assigned to a DataGrid in the main thread. I am updating the same data tiles from two separate thread classes. Although the rows are successfully updated in the datagrid control, I get the following performance:

NotSupportedException Throwed Message, 'This type of archive view changes the source collection from its source collection Dispatcher thread does not support '

How can I update the datatables in separate threads?

Abdul Khaliq

From your thread in your collection view, use < / P>

  this.Invoke (myUpdateMethod); Public ZERO myUpdateMethod () {// Get data from different threads and see archive}  

No comments:

Post a Comment