Adding DataWindows to a form

To use the DataWindow object in a .NET application, you add a DataWindowControl or WebDataWindowControl to a form, then associate that control with the DataWindow object.

Names for DataWindow controls and DataWindow objects

There are two names to be aware of when you are working with a DataWindow:

When you place a control in a form, it gets the default name DataWindowControl1 or WebDataWindowControl1. You can change the name to be something meaningful for your application. In this case, you will add two controls and rename them dwCustList and dwCustomer. These controls will be associated with the DataWindow objects d_custlist and d_customer.

To add DataWindow objects to a Windows application, go to “Adding a DataWindowControl to a Windows form”. To add DataWindow objects to a Web application, go to “Adding a WebDataWindowControl to a Web form”.