Select Windows Application, and then give it the Name AddressBook. Click OK
Locate the Solution Explorer on the right hand side (If you can't see it, click View > Solution Explorer from the menu bar.
We need to select a Data Source. So click on Data Sources at the bottom of the Solution Explorer:
Use Data Source Configuration Wizard,
In the next step, you have to tell the Wizard where your database is.
The Wizard will then take a look at your database, and display all your tables, fields amd objects. if you downloaded our database, you Wizard should look something like this:
Click the Tables box, and all of the other items will have ticks in them. Notice the DataSet Name: AddressBookDataSet. You'll learn just what a DataSet is in a later section. For now, just click the Finish button.
When you click Finish, the Wizard goes to work. When it's done, it looks as though not much has changed. But notice the Solution Explorer:
The Data Sources area of the Solution Explorer now displays information about your database. Click the plus symbol next to tblContacts:
All the Fields in the Address Book database are now showing. In the next part, we'll see how to add these fields on to the Form.
Drag and Drop more Fields to your form. But don't align them yet. We'll see an easy way to do this. But once you've dragged the fields to your form, it might look like this:
Click on a Textbox with your left mouse button
Hold down the Ctrl key on your keyboard, and select a second Textbox
With the Ctrl key still held down, click each Textbox in turn
When all Textbox are selected, click on the Format menu at the top
From the Format menu select Align > Lefts. The left edges of the Textboxes will align themselves
From the Format menu select Vertical Spacing > Make Equal. The space between each textbox will then be the same
With your new controls added, and nicely aligned, press F5 to run your form. You might have something like this: