Connecting to a Database in Visual Basic

data tables
In the next window, you are asked to select the tables that you want. Click the + next to tables, then select both movies and tables. Click Finish.

database
From the toolbox, add a DataGridView to the form. As soon as you add the DataGridView, a pop up window appears to select a data table. Select Other data sources, MoviesDataSet, Movies by drilling down until you get to the movies table.

data
Now you will see the gray area of the data grid change to show the columns of the table you selected.

NEXT: Data Connections