I programmatically change a bound TextBox value, but the value does not get pushed back into the bound DataSource. How can I make sure the DataSource is updated?
Call the EndCurrentEdit method on the BindingManager for the control. Here is an example.
textBox1.Text = "New value"; //set the value
//end the edit
textBox1.DataBindings[ "Text" ].BindingManagerBase.EndCurrentEdit();
Contributed from George Shepherd's Windows Forms FAQ