updating a datagridview
Posted on 2014-07-26
hi - I'm implementing a cut, copy paste routine using a DGV. I have everything working except undo and redo. the DGV is data bound to an underlying DataTable. when paste, I save the DataTable instance to a buffer DT array. this works fine. but when I go to restore the old copy of the DT, I can't get the DGV to refresh with the old data. if I look at the operating DT, it shows the correct values of the old DT, but the DGV hasn't refreshed. I'm hoping not to have to go through and manually copy everything back.