|
Free
computer Tutorials
|
![]() |
home |
Stay
at Home and Learn
|
||||||
Creating a Database Project in VB .NET |
|||||||
|
If you have Visual Studio and NOT the Visual Basic 2005 Express Edition, your tutorials are here: Visual Studio .NET and the database Wizard The first part of the tutorial is here: Database project for Visual Basic 2005 Express users
Let's make a start on our Database project. So, once you have your VB software open, do the following:
You want to connect to a Local database file. So select this option, and click Next. In the next step, you have to tell the Wizard where your database is. So click the Browse button, and navigate to where on your computer you downloaded the Access Database. Then click Next. 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.
Click here for the next part-- > |