问题
I have added some fields in my database table and added them on my dataset with the help of the wizard. In my code I have two queries an insert and update which do not pick up the changes made to the dataset.
This means that they are some somehow forgotten to get updated. Therefore, when I type this:
Me.TransactionTableAdapter.updTransaction(1,2,3)
it works using the previous database version instead of being like this
Me.TransactionTableAdapter.updTransaction(1,2,3,4)
Any ideas how to get it updated without editing the Dataset.Designer.vb file?
回答1:
This question is related to:
- Update DataSet structure in Visual Studio to match new SQL Database Structure
- How do I get Visual Studio 2010 to refresh my DataSet after I have updated the Database source? which provides another link to How to: Edit TableAdapters on MSDN
来源:https://stackoverflow.com/questions/17002768/dataset-designer-vb-does-not-get-updated