save data to DB

后端 未结 1 460
天涯浪人
天涯浪人 2021-01-25 18:20

I am using Visual Studio 2010 with SQL Server Express and LINQ to SQL

The application runs correctly when inserting data into the database during application execution.

相关标签:
1条回答
  • 2021-01-25 19:11

    database1.mdf=====> properties =======>copy output direction=copy always

    This is why. You are editing a copy of the database each time you start a new debug session. Set it to do not copy and your updates will persist.

    0 讨论(0)
提交回复
热议问题