3 Once you have typed all six records, select Save All from the File menu again. That will save all the records to the database.
Q: How about the data I've entered? Where did it go? A: The IDE automatically stores the data you type into the database's people datasheet. A datasheet, its columns, data types, and all of its data are stored in the sqlserverexpress contactdb.mdf file. This file is stored as part of the project and, like your code file, the IDE updates it as you modify it. Q: OK, I typed in the column record. Will they always be part of my program?
A: Yes, they're just like the code you write and the form you're creating, it's part of your program. The difference is that they are not compiled into executable files, but are copied and stored with the executable file. When your program needs to access the data, it reads and writes the CONTACTDB.MDF in the program's output directory.