I\'m using ADO.NET in my C# project. In my form I added a SourceBinding element from my toolbox in VS2010. I set the connection to the table of my dataset. It creates a Data
I too was having difficulty figuring this out.
You need to call DataSet.AcceptChanges()
after the TableAdapter.Insert(...)
That worked for me.
So the steps are:
TableAdapter.Fill(..)
// this should automatically be added by vs.TableAdapter.Insert(..)
DataSet.AcceptChanges()
TableAdapter.Update(..)