I have a windows forms datagrid which isn't completely redrawing when I do:
Code:
dgPay.DataBindings.Clear()
dgPay.SetDataBinding(dsPaySet, "ParentTable")
dgPay.Refresh()
Specifically, the last cell in the grid that had focus remains visible even after dgPay.DataBindings.Clear() is called. This is VERY misleading when the current row has the ID of the previously selected row :(
Any thoughts?