I. About WinForm
Start the program and display the form--------------------------------"Program.cs"------------------used to start the program, showing the most basic form
Many controls in Winfom (form)------------------------"Form1.cs"---------------------used to define the control form, and the objects in it,
------"Form1. Designer.cs "----------Define the behavior of the form and the objects in it, that is, the function, or method.
Resource-----------------------------------"Form1.resx"------------------to save resources in the project
Two. About Bin folder, Debug folder, Release folder, and obj folder
The Bin folder contains----------------Debug folder---------is the repository for files that are generated by the final code when debugging, that is, the debug version of the software
-----The Release folder-------no debug code, code-optimized software, and the final Code storage directory
The obj folder contains-----------------the Debug folder---------is a directory of files that are intermediate code generated when debugging, and is generally of no use
-----Release Folder--------is the release version of the generated intermediate code storage directory,
Three. About the creation of SQL database and the addition of datasets
What: the warehouse where data is stored, all changes to the data are supported by the database
Why to build a database (the role of the database): is to give the data set of interfaces, and can be organized according to certain rules of the stored data (a relatively simple way: Table storage data-tables in the presence of primary keys, and identity columns, etc.)
What to do: Create a new item on a project, a service-based database, and then
The new "project name Db.mdf" is our new SQL database, simple SQL database can be a "table" way to hold the data, we use such as "table" to produce a dataset, and the definition of the dataset is flexible, not necessarily a table is a data set,
Four. Data sources
A data source is a window into which a database interacts with forms and controls
Written in 16/2/29/0:28
Primary Knowledge WinForm and C #----A simple Address Book (CONTACT3) that involves SQL database