Head of C # Chinese Wild edition (PAGE29)

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.