Link to home
Start Free TrialLog in
Avatar of rite_eh
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.
SOLUTION
Avatar of Hillwaaa
Hillwaaa
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial