Hi,
I am trying to add/update of data in a grid using the shortcut key ALT + S
that is maped to the code written to save to the data base. The form is
created using data wizard.
But i am getting the error while updating using ALT+S
error=
Exception Source=System.Data
System.Data.NoNullAllowedException: Column 'product_type_name' does not
allow nulls.
at System.Data.DataView.FinishAddNew(Int32 currentIndex, Boolean success)
at System.Data.DataRowView.EndEdit()
at System.Windows.Forms.CurrencyManager.EndCurrentEdit()
at SanctionsDisbursalTracker.frmProductType.UpdateDataSet() in
F:\projects\SanctionsDisbursalManager\SanctionsDisbursalManager\Configuratio
n\frmProductType.vb:line 226
at SanctionsDisbursalTracker.frmProductType.btnUpdate_Click(Object
sender, EventArgs e) in
F:\projects\SanctionsDisbursalManager\SanctionsDisbursalManager\Configuratio
n\frmProductType.vb:line 213
Can any one plz suggest me
Thanks