rite_eh
asked on
Quick question: Binding to Combo Box
Hello,
I have a form with many controls, all bnding from an SQL table (using the built-in SQL connection tools in VS 2005.NET)
When binding data to a combo box I have these options:
SelectedItem
SelectedValue
Tag
Text
My combo box contains text descriptions. The database stores the SelectedIndex of the selected item in the list. how to I bind my DB to the '.SelectedIndex' property? I don't see it under 'advanced' either. SelectedItem and SelectedValue do not work.
I have a form with many controls, all bnding from an SQL table (using the built-in SQL connection tools in VS 2005.NET)
When binding data to a combo box I have these options:
SelectedItem
SelectedValue
Tag
Text
My combo box contains text descriptions. The database stores the SelectedIndex of the selected item in the list. how to I bind my DB to the '.SelectedIndex' property? I don't see it under 'advanced' either. SelectedItem and SelectedValue do not work.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.