May 2002
Beginner
408 pages
9h 10m
English
In the next example, you will build a quick-and-dirty Windows Form that will display all customers in a bound ListBox and the customer's associated Orders in a bound DataGrid. A more complex DataSet will be needed that provides the relationship path to traverse from customers to orders using the primary key of Customers (CustomerID) to foreign key in Orders (CustomerID). You will have to do data bindings for both the ListBox control and the DataGrid control. This example is one of the classic data binding scenarios described earlier.
1. |
Create a new project in VS .NET by choosing File, New, and then choosing the Project option. Or, you can just modify the “ADO.NET24hoursDB” ... |
Read now
Unlock full access