G
Guest
I have a table bound to a datagridview on main form. A second form updates
one of the look up tables that includes look-up values. One of the
datagridview columns is a combobox on main form that gets its values form
this look up table.
What I add new loopup values from the second form and save that data by
updagint the tableadapter, then go back to the main form, the dropdown does
not show the new values. I have to exit and restart the program to see them.
The code below is what I execute when new comands are added to the comands
table.
private void button1_Click(object sender, EventArgs e)
{
// save the changes made to the gridview
this.Validate();
this.commandsBindingSource.EndEdit();
this.commandsTableAdapter.Update(this.fixed1DataSet.Commands);
}
What am I missing?
one of the look up tables that includes look-up values. One of the
datagridview columns is a combobox on main form that gets its values form
this look up table.
What I add new loopup values from the second form and save that data by
updagint the tableadapter, then go back to the main form, the dropdown does
not show the new values. I have to exit and restart the program to see them.
The code below is what I execute when new comands are added to the comands
table.
private void button1_Click(object sender, EventArgs e)
{
// save the changes made to the gridview
this.Validate();
this.commandsBindingSource.EndEdit();
this.commandsTableAdapter.Update(this.fixed1DataSet.Commands);
}
What am I missing?