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 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.