Creating the List Window

The list window uses a DataGrid control bound directly to the Access database table. In this particular form, three controls are used to bind the database to the DataGrid—an OleDbConnection object, an OleDbDataAdapter object, and a DataSet object. The form also includes a Timer control and a Menu control. In this section, you'll add code and set properties for all these controls.

This form is called frmStockMonitor and you should set the following properties of the form before getting started with the controls:

Property Value
(Name) frmStockMonitor
Text Stock Monitor

The next control to add is the DataGrid, which is shown on the Toolbox's Windows Forms tab. Add the control to your form and set the following properties: ...

Get Creating and Consuming Web Services in Visual Basic® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.