Goal
I want to be able to have two ComboBoxes where one is the parent or owner of the second one. This means that whenever I select a value in the first ComboBox
, the second ComboBox
will filter it's results to display the corresponding values related to the first ComboBox
.
For example:
Note: This example has been completed programmatically... I want to figure out how to do it using the user interface of Visual Studio
Current Situation
I have a dataset with two DataTables like so:
As you can see, I have a parameter in my BakerySubSectionsTableAdapter
called @FK_BakerySection. I want to link that to the BakerySection's
PK_BakerySection attribute.
Current Result
Here is my current result:
Using the following query in my TableAdapter:
So ... How do we set a value to a parameter using the User Interface?