J
J. A. Zanetti
Hello NG,
i have this problem: in my application, i have a master-
detail form displaying two DataGrids binded to DataViews.
While the bindings work fine when moving through the
grids' rows or making insertions, i keep encountering a
problem when trying to delete the last row in a grid
(problem occurs with both grids). Deleting any row other
than the last will complete successfully.
I have tried to handle all the underlying DataViews' and
DataTables' events, but i couldn't solve my problem.
Neither could i solve the problem by catching exceptions:
all the form routines include structured exception
handling, but the run-time error i get is about a null-
reference unhandled exception. Is it depending on the
DataGrid control trying to move to the next row (which of
course does not exist)?
I would appreciate any help, thank you in advance.
Best regards,
J.
i have this problem: in my application, i have a master-
detail form displaying two DataGrids binded to DataViews.
While the bindings work fine when moving through the
grids' rows or making insertions, i keep encountering a
problem when trying to delete the last row in a grid
(problem occurs with both grids). Deleting any row other
than the last will complete successfully.
I have tried to handle all the underlying DataViews' and
DataTables' events, but i couldn't solve my problem.
Neither could i solve the problem by catching exceptions:
all the form routines include structured exception
handling, but the run-time error i get is about a null-
reference unhandled exception. Is it depending on the
DataGrid control trying to move to the next row (which of
course does not exist)?
I would appreciate any help, thank you in advance.
Best regards,
J.