티스토리 뷰

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.