DevX Skillbuilding for IBM DeveloperWorks
DevX Skillbuilding for IBM DeveloperWorks
DevX Skillbuilding for IBM DeveloperWorks
Get regular email alerts when we publish new features!
DevX Update for IBM developerWorks

More Newsletters

Binding DB2 Tables and Views to Visual Basic WinForms

Create a client app that accesses tables and views residing in a DB2 for z/OS database. Applies to distributed DB2 as well. 

First published by IBM at http://www7b.software.ibm.com/dmdd/library/tutorials/0306alazzawe/0306alazzawe-3-1.html
All rights retained by IBM and the author.

Step 1 : Create the Visual Basic project

To create the Employees Visual Basic project, follow these steps:

  1. Launch Visual Studio .NET
  2. From the Visual Studio .NET IDE, select the menu File => New => Project. This will launch the New Project dialog.
  3. From the New Project dialog, open the Visual Basic Projects folder and select the Windows Application project template.

  4. Type Employees for the project name and click OK.
You should now see the Employees solution and project in the Solution Explorer of you Visual Studio .NET IDE. A blank form, Form1, should now be open in design mode.
  Next Page: Step 2 : Adding the project forms
Page 1: Step 1 : Create the Visual Basic project Page 4: Step 4: Linking the ViewEmployees form
Page 2: Step 2 : Adding the project forms Page 5: Step 5: Linking the ManageEmployees form
Page 3: Step 3: Setting up the main project form