L
Lee Gillie
I want to allow the user to add new rows. Not all columns from the bound
data tabled are mapped (i.e. there are hidden columns). But some of
those columns do not allow null. When I add a new row I get an exception:
A first chance exception of type 'System.Data.NoNullAllowedException'
occurred in system.data.dll
Additional information: Column 'REP_ID' does not allow nulls.
Question is, How can I provide a proper row initialization when the grid
creates a new row? That is, how can I detect the newly added row, and
perform some initialization on the row's column values?
data tabled are mapped (i.e. there are hidden columns). But some of
those columns do not allow null. When I add a new row I get an exception:
A first chance exception of type 'System.Data.NoNullAllowedException'
occurred in system.data.dll
Additional information: Column 'REP_ID' does not allow nulls.
Question is, How can I provide a proper row initialization when the grid
creates a new row? That is, how can I detect the newly added row, and
perform some initialization on the row's column values?