I'll start this hopefully simple and add code where needed or requested.
Im using a combobox that bound to a DataSet. The Dataset retreives it's values from SQL.
I can retreive the values fine. However only displaying (1) Column. Which is fine.
Here's where it gets complicated for me. The dataset has 2 other columns that get filled. I need the resulting columns to be sent to text boxes when I select a value from the combobox.
Basically:
However. using the method of course doesnt work and that's what I need to figure out.
Im using a combobox that bound to a DataSet. The Dataset retreives it's values from SQL.
I can retreive the values fine. However only displaying (1) Column. Which is fine.
Here's where it gets complicated for me. The dataset has 2 other columns that get filled. I need the resulting columns to be sent to text boxes when I select a value from the combobox.
Basically:
Code:
txtbox1.text = combobox.column(2).selectedvalue txtbox2.text = combobox.column(3).selectedvalue
Comment