I am using a VB.net application connected with a .mdf database file.
The application is running successfully, and when I try to insert records its accepted.
Everytime I close and reopen the application, new records from previous run disappear. This happens inside the VS IDE when I'm testing it.
What can be happening?
Every time you are debuging your process, VS copy all the needed file to the deploy folder, and the run it. Check that your database is not being copied every time. Copy it only when it changes (you have an option on the file).