Changes

Accessing Databases Using Visual Basic

12 bytes added, 19:28, 9 August 2007
Linking Data Sources to an Application
We are now ready to add some data columns to our form. Drag and drop the ''CustomerID'', ''CompanyName'', ''Address'' and ''Country'' fields onto the form so that they appear as follows:
[[Image:Examplvb_database_fields.jpg]]
Once the data fields are added you will notice that Visual Basic adds a toolbar to the top of the form to provide navigation and the ability to add and remove records from the database. Press ''F5'' to build and run the application. When the application starts the fields will populated with data from the database. Use the toolbar to move through the records: