Click here to Skip to main content
15,887,365 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to restore the rows after deleting from gridview on click of delete button. Click on undo button would like to restore the rows in Asp.net c#
Posted
Comments
AshishvermaMCA 9-Apr-13 6:03am    
imp question.

1 solution

You could build your own gridView that (inherits from gridView and) implements the Memento Design pattern. See this link for details of that pattern
http://www.dofactory.com/Patterns/PatternMemento.aspx[^]
or in CodeProject ...Memento Design Pattern[^]

Just in case here is an article on creating a custom gridview http://msdn.microsoft.com/en-us/library/ms228046(v=vs.100).aspx[^]
 
Share this answer
 
Comments
Maciej Los 9-Apr-13 6:40am    
Very good suggestion ;)
+5
CHill60 9-Apr-13 7:14am    
Thank you

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900