Hi elidotnet,
You said:
After i close the app and return to the page. Could you please let me know if your application is of type WinForm?
In WinForm, when we want to update the data to database, we can follow the code snippet below:
private void BindingNavigatorSaveItem_Click(object sender, EventArgs e)
{
//Call EndEdit method of the binding source to save the input data to binding source.
this.headerBindingSource.EndEdit();
//Call the UpdateAll method of the TableAdapterManager to update data to database.
//myDBDataSet1 is the DataSet. You can also call the Update method of the related DataAdapter.
this.tableAdapterManager.UpdateAll(this.myDBDataSet1);
}
Sometimes we need to call the EndEdit method of the DataGridView at first.
Ifthe applicationis of type Asp.Net, you need to post from:
http://forums.asp.net/.
Let me know if this does not help.
Aland Li
Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.