
The first step in adding a database to visual basic project is going to Project -> Add New Item…
Select SQL Database
Right Click Tables -> Add New Table

Add the colums and their data types
Primary key – foreign key relationship can be found under the menu-relationship

After adding the database connection to the data source, you can now drag tables or do other manipulation with the data

To download the source code for this program, click here
Chang is a 20 some years old web technology enthusiast, he loves open source web application design and development. In his spare times, he loves to explore new technologies, web 2.0 and its business implications,