recently i've been working on WPF and i have a requirement that is.. supose i have displayed list of ten book using data grid view from my database and now the book records get delete when you click the delete button and now i want to roll back that operation.. i mean that i want that entry of the deleted book back when i click on the other button (say "undo"). how should i do it.
How to undo a record using C# when i click a undo button
hello,
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Dec 6, 2013, 7:12 PM EST
You have to created your model that handles the undo operation using commands.
In this link, its explained well with code.