Canceling Webdatagrid updates

Hello all,

Can some one tell me how we can cancel all updates on webdatagrid (CRUD) ? Suppose that user had added some rows, removed others and updated any cells. After all this he decided to cancel all (To go to have lunch).

All what i know is to ovoid updates for adding and updating using RowAdding and RowUpdating server side events.Thank you very very much for your help