DataSet.Designer.vb does not get updated

≯℡__Kan透↙ 提交于 2019-12-11 11:16:30

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!