I'm having problems updating database table from dataset.
I'm using the following code to update a new row in a table:
ProjectDataSet.MyTableProjectRow MyNewRow = projectDataSet.MyTableProject.NewMyTableProjectRow();
ProjectDataSet.MyTableProject.AddMyTableProjectRow(MyNewRow);
MyTableProjectTableAdapter.Update(MyNewRow);
tableAdapterManager.UpdateAll(projectDataSet);
Now, the dataset is updating correctly, but the table itself is not.
And after I restart the program the new data updated in the dataset is gone.
Anybody has any idea what is the problem?
Edited by Efi77, 01 January 2009 - 04:21 PM.


Sign In
Create Account

Back to top









