Refreshing a list from a combo box
I imported an access database in C #, created a form with a combo box that lists all customers, created a box list to display this customer's address data (2 different tables), how do I link this combo box to a list box ...
1-many relationship (client (1) - address (many))
+2
spyder
source
to share
2 answers
Put the same source / DataSource / List in 2 DataSource of your combo list and list, remember to link them if you put some code, I can help a little more
+1
Polo
source
to share
I would do this in an event ComboBox.SelectedIndexChanged
. reformat ListBox.DataSource
with ComboBox.SelectedValue
ComboBox.
0
Hath
source
to share