I hope this is the correct forum for this question...
I have a SQL database with three tables.
Table one has an key index and a string. I have a combobox databound to this table and it is populated with all the strings in table one.
My second table has a key index, a string, and a foreign key pointing to the key index of table one. There can be one or more strings with the same foreign key
I have a list box that I want to databind to table two, but I only want it to display table two strings equal to the combobox selected item's index, which has the foreign key of table two equal to the index key of table one
So basically, whatever the selected index of the combobox is, I want the list box to show the string data from table two in which the foreign key is equal to the key index of the combobox selected item.
I'm sure this is possible, but I haven't been able to get it to work.
Any help would be appreciated.
I have a SQL database with three tables.
Table one has an key index and a string. I have a combobox databound to this table and it is populated with all the strings in table one.
My second table has a key index, a string, and a foreign key pointing to the key index of table one. There can be one or more strings with the same foreign key
I have a list box that I want to databind to table two, but I only want it to display table two strings equal to the combobox selected item's index, which has the foreign key of table two equal to the index key of table one
So basically, whatever the selected index of the combobox is, I want the list box to show the string data from table two in which the foreign key is equal to the key index of the combobox selected item.
I'm sure this is possible, but I haven't been able to get it to work.
Any help would be appreciated.