Hi there,
When I click a row or cell in my DataGridView, I get the following exception:
Also,Code:System.Data.NoNullAllowedException: Column 'cc_log_date' does not allow nulls. at System.Data.DataColumn.CheckNullable(DataRow row) ...
When I click a row header, and then click the 'Delete record' button on the binding navigator, it doesn't delete the row highlight, it deletes the first row in the DataGridView
Anyone have a clue what's causing this?
Thanks.
EDIT:
I then turned on AllowDBNull on the 'cc_log_date' field on the dataset. After that, I clicked a row, clicked off it and the value in the 'cc_log_date' disappears :S.
![]()





Reply With Quote