G
Guest
Using a DatagridView in .net 2.0
How would you go about implementing an "undo" event?
So if the user selects a row in the datagridview, then hits the delete key,
I handle the deletion by using the "datagridviews.rows.removeat" function.
This removes the row from the datagridview, but the row should still be
available because I have not yet committed the change to the database.
Is there a simple property or method I can use to make the row visible again?
thanks
How would you go about implementing an "undo" event?
So if the user selects a row in the datagridview, then hits the delete key,
I handle the deletion by using the "datagridviews.rows.removeat" function.
This removes the row from the datagridview, but the row should still be
available because I have not yet committed the change to the database.
Is there a simple property or method I can use to make the row visible again?
thanks