?
?eljko Margeta
As I figured out, the recomended way to cancel editing of a column, or
deletion of a row is to create an event handler for ColumnChanging or
RowDeleting events, and to throw your own exception. Well, I did just
that, and the problem is that I do not know where to catch this
exception. As I understand, it should be done somewhere in the
DataGrid which is bound to the DataTable which raised an event, but I
don't know where. Can anybody help me?
deletion of a row is to create an event handler for ColumnChanging or
RowDeleting events, and to throw your own exception. Well, I did just
that, and the problem is that I do not know where to catch this
exception. As I understand, it should be done somewhere in the
DataGrid which is bound to the DataTable which raised an event, but I
don't know where. Can anybody help me?