잉고래의 코딩

Visual Studio mdf table 저장 오류 해결방법

잉고래 2016. 8. 10. 09:27

Data is not being saved

I'm developing windows forms application in C# with sql server database. I can insert and retrieve data but only in the run time. If I run it again it does not show previously inserted data.


Here is screen shot

You are basically pressing the ctrl + s, which will save the definition of the table in the script file. in top left corner you will find the update database button, that will apply the script/changes for table to database file.