I have a table with 3 fields of which the primary key is a autonumber. I have
created my dataadapter, dataset and datagridview using a wizard. However, in
the datagrid, the update and delete operation work but the Insert will not
work. I know I to make changes to code but it does not seem to work. portion
of the error reads:
The following exception occurred in the DataGridView:
System.Data.NoNullAllowedException: Column 'ID' does not allow nulls at
System.Data.DataColumn.CheckNullable(DataRow row) at
System.Data.DataTable.RaiseRowChanging(DataRowChan geEventArgs args, DataRow
eRow, DataRowAction eAction, Boolean fireEvent)
.....
.....
.....
System.Windows.Forms.DataGridView.DatGridViewDataC onnection.OnRowValidating(DataGridViewCell CancelEventArgs e)
--
L. A. Jones