B
Benedikt Eckhard
Hi!
I wan't to prevent a user to delete some Rows showed in a DataGrid.
I registered for the DataTable.RowDeleting event and tried to throw an
exception when deleting occours but is forbidden(as proposed in the msdn).
Problem: Nobody catches the error, so an application Exception gets shown to
the user. How can I catch the exception or prevent deleting a row in an
other way?
Thanks in advance
Benedikt
I wan't to prevent a user to delete some Rows showed in a DataGrid.
I registered for the DataTable.RowDeleting event and tried to throw an
exception when deleting occours but is forbidden(as proposed in the msdn).
Problem: Nobody catches the error, so an application Exception gets shown to
the user. How can I catch the exception or prevent deleting a row in an
other way?
Thanks in advance
Benedikt