G
George Gîta
I want to do the following:
- have a combo box linked to the Customers table
- have a list box linked to the Orders table
When I select a Customer from the combo, the list box will display all the
Orders from that Customer.
So far I managed to make the connection to the database and 2 sql data
adapters, one with data from Customers, other from Orders.
After that I buit a DataSet from that 2 sql data adapters, having 2 tables
"Customers" and "Orders".
And now I'm stuck.
How can I syncronize the combo with the list box ? Is there a posibility
like RowFilter in DataGrid? Or maybe using BindingContext ?
How?
Thanks in advance.
- have a combo box linked to the Customers table
- have a list box linked to the Orders table
When I select a Customer from the combo, the list box will display all the
Orders from that Customer.
So far I managed to make the connection to the database and 2 sql data
adapters, one with data from Customers, other from Orders.
After that I buit a DataSet from that 2 sql data adapters, having 2 tables
"Customers" and "Orders".
And now I'm stuck.
How can I syncronize the combo with the list box ? Is there a posibility
like RowFilter in DataGrid? Or maybe using BindingContext ?
How?
Thanks in advance.