i\'m sorry. i wouldn\'t post this if i weren\'t out of ideas. i\'ve tried everything in the forums, but to no avail.
so i have 2 tables. both are empty at the beginn
I received this error message because my workstation was set to a different time zone than my server. Once I got it back to the same time zone...problem went away
I know this thread is old, but I'd like to share the situation in which I got this error in case anyone runs across this also from an internet search.
I was seeing this error message in a legacy app. It turned out to be a result of a previous programmer coding up some logic that retrieved a DataTable, forcibly removed a column from it, then allowed the user to edit the DataTable in a grid. The DataTable was then passed to the adapter (an OracleDataAdapter in my case) to apply any changes.
So...manually removing a column from a DataTable before sending it to the SqlDataAdapter can also result in this error message.
This error is mostly because of updating multiple changes to database without reloading updated data between requests and when you try to save(Update) stacked changes this error may occur.
And here there is a good example in details.
this.contactDBDataSet.AcceptChanges();
That Right !! FIN
i have the same problem. but i am using Visual studio 2010 with C# and windows form. i solved my problem by placing "this.contactDBDataSet.AcceptChanges(); before "this.tableAdapterManager.UpdateAll(this.contactDBDataSet);". here is the sample.
private void peopleBindingNavigatorSaveItem_Click_2(object sender, EventArgs e)
{
this.Validate();
this.peopleBindingSource.EndEdit();
this.contactDBDataSet.AcceptChanges();// added by Humayoo
this.tableAdapterManager.UpdateAll(this.contactDBDataSet);
}