Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data not saving to database

Status
Not open for further replies.

Saturn57

Programmer
Aug 30, 2007
275
CA
I have a form that is composed of data from two linked tables. When I hit the save button the info that is on one table dissapears. Can anyone steer me in the direction to start looking. Here is my save statement:

private void quoteCalcHeaderBindingNavigatorSaveItem_Click(object sender, EventArgs e)
{
//calculateBN_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);

}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top