DataAdapter.Update() does not Update the Database

后端 未结 9 2010
庸人自扰
庸人自扰 2020-12-16 16:10

I\'m sure there is an extremely simple reason that this one line isn\'t working, but it has evaded for the past week, so I\'m hoping someone else will notice my fault.

9条回答
  •  萌比男神i
    2020-12-16 17:01

    Check the properties of your Database If you are using Local-DB.

    In "Copy to Output Directory" property set the value "Copy if newer" and you are good to go.

提交回复
热议问题