|
-
Apr 21st, 2002, 11:51 AM
#1
Thread Starter
Member
RowDeleting event of a DataTable...
Hi,
I'm trying to display a confirmation message when a user delete a row from a DataTable.
Since RowDeleting event is raised before the selected row is deleted, I may be able to display the confirmation and prevent the action in the RowDeleting event.
Anyway, I couldn't find any way to cancel the action if the user decided not to delete the row during the confimation.
Anyone out there has any solution for this?
Thanks.
-
Apr 21st, 2002, 01:22 PM
#2
Frenzied Member
well
what i would do is buffer the record that is being deleted and if the user whishes to cancel the delete let the delete go on through and then recreate the record from the buffer
i would assume that there is a better way but i couldn't find a cancel method or anything of the like.....
Magiaus
If I helped give me some points.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|