Changes

Accessing Databases Using Visual Basic

12 bytes added, 19:24, 9 August 2007
Connected to a Database
Begin by launching Visual Studio and creating a new Windows Application project called "VBdatabase". Once the new project has been created the first task is to connect to the Northwind database. Click on the ''View'' menu and select ''Server Explorer''. The Server Explorer panel will appear on the left hand side of the main Visual Studio area:
[[Image:Examplvb_server_explorer.jpg]]
This panel allows you to browse servers on your network and locate databases. Click on the ''Connect to Database'' button (highlighted above). The ''Add Connection'' dialog will appear as follows: