alander
Well-known member
hi, i am getting a run time exception ..
update requires a valid update command when passed datarow collections with modified rows
i am updating multiple rows of multiple tables at 1 time, i got it right for one of my forms, i did THE SAME for another form that displays other stuff frm my DB but however, i get this error, and i do not understand why becos what i did was the same..
here is my save button
can anyone tell me why?
update requires a valid update command when passed datarow collections with modified rows
i am updating multiple rows of multiple tables at 1 time, i got it right for one of my forms, i did THE SAME for another form that displays other stuff frm my DB but however, i get this error, and i do not understand why becos what i did was the same..
here is my save button
VB.NET:
me.validate()
Wage_RangeBindingSource.EndEdit() 'parent
Wage_RangeTableAdapter.Update(dsSPR1Full.Wage_Range)
CPFBelow35_SPRYear1_Full_BindingSource.EndEdit() 'child1 (update success)
CPFBelow35_SPRYear1_Full_TableAdapter.Update(dsSPR1Full._CPFBelow35_SPRYear1_Full_)
CPF35_50_SPRYear1_Full_BindingSource.EndEdit()'child2 (error Occurs)
CPF35_50_SPRYear1_Full_TableAdapter.Update(dsSPR1Full._CPF35_50_SPRYear1_Full_)
can anyone tell me why?
Last edited: