G
Guest
Can anyone tell me why this code added automatically by C# does not work? I
can add a record on the form or modify a record, but hitting the save button
does not save changes back to the database table. I can see the chnages to
the dataset as long as the form is still loaded.
private void customerBindingNavigatorSaveItem_Click(object sender, EventArgs
e)
{
this.Validate();
this.customerBindingSource.EndEdit();
this.customerTableAdapter.Update(this.accessTest1DataSet.Customer);
can add a record on the form or modify a record, but hitting the save button
does not save changes back to the database table. I can see the chnages to
the dataset as long as the form is still loaded.
private void customerBindingNavigatorSaveItem_Click(object sender, EventArgs
e)
{
this.Validate();
this.customerBindingSource.EndEdit();
this.customerTableAdapter.Update(this.accessTest1DataSet.Customer);