D
DanB
I want to asked the user if he is sure before deleting a row in a datagrid.
I've created an event handler for the underlying table using the RowDeleting
Event.
If the user responds that he does not want to delete the row then I think I
am supposed to throw an exception.
But the rowstate is changed to deleted anyway. I thought throwing the
exception would prevent this.
What am I doing wrong?
Dan
I've created an event handler for the underlying table using the RowDeleting
Event.
If the user responds that he does not want to delete the row then I think I
am supposed to throw an exception.
But the rowstate is changed to deleted anyway. I thought throwing the
exception would prevent this.
What am I doing wrong?
Dan