|
|
||
![]() |
||
Figure 5. Make Room for More Controls and Functionality. Create this CustomerForm_Replacement form by inheriting a new form from CustomersForm, dropping a DataAdapter that fills the data set’s Orders table, and adding a DataGrid control that has its DataSource property point to the Customers_Orders relation in the data set. Finally, add a few lines of code for the Click event of the Load and Update buttons and, presto!, you can use this form as a replacement for the original form. |
||