private void _btnRefresh_Click(object sender, EventArgs e) { this.gasTableAdapter.Fill(this.finalAssignmentDataSet.Gas); }
private void gasBindingNavigatorSaveItem_Click(object sender, EventArgs e) { Form1 mainform; this.Validate(); this.gasBindingSource.EndEdit(); this.tableAdapterManager.UpdateAll(this.finalAssignmentDataSet); //I want to add this command but it doesn't update the gridview this.gasTableAdapter.Fill(this.finalAssignmentDataSet.Gas); }
private void gasBindingNavigatorSaveItem_Click(object sender, EventArgs e) { Form1 mainform; this.Validate(); this.gasBindingSource.EndEdit(); this.tableAdapterManager.UpdateAll(this.finalAssignmentDataSet); //I want to add this command but it doesn't update the gridview
this.gasTableAdapter.Fill(this.finalAssignmentDataSet.Gas);
}