How to suspend DataGridView while I am updating a lot of data?
am 11.10.2007 20:36:10 von hjinI have a DataGridView which has a DataSource (a DataTable) of 3000
rows. If I want to update one column of every rows in the DataTable,
my whole appliation freezes with any response. After a lot of time, it
comes back.
If I set the DataSource to null before changing the data and set it
back after changing. There' s no problem. But I lost the status of the
DataGridView, like current selected row, sorting, etc.
Is there any way to prevent the DataGridView to do anything while I am
updating the data in the DataTable?