Can anyone help me. I have a table with a true/false selection connected to a form as a check box. When I check the box it is not updating my table. Any suggestions?
How are you binding your data to the checkbox? If you're using a bindingsource try calling EndEdit(). This applies any pending changes to the underlying datasource.
Here is the way everything is saved: private void quoteCalcHeaderBindingNavigatorSaveItem_Click(object sender, EventArgs e)
{
bindingNavigatorAddNewItem1_Click(null, null);
this.Validate();
this.quoteCalcHeaderBindingSource.EndEdit();
this.quoteCalcHeaderTableAdapter.Update(this.estimatorDataSet.QuoteCalcHeader);
this.Validate();
this.quoteCalcBodyBindingSource.EndEdit();
this.quoteCalcBodyTableAdapter.Update(this.estimatorDataSet.QuoteCalcBody);
}
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.