Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox- show list of suggested values
Message
From
02/01/2004 16:15:18
Gerald Caussade
Department Mental Health - Missouri
Farmington, Missouri, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
ComboBox- show list of suggested values
Miscellaneous
Thread ID:
00863557
Message ID:
00863557
Views:
87
Finally using combo box and I am already stumped on the simplest thing:

I want the combo box to retrieve a list from a table/column. I do this by setting datasource and datamember property.

At run time it shows a list of values from that column in the combo, but I want it to be blank and for the list to show up below the empty field when the user clicks on the drop down arrow. I've tried setting selectedindex to 0, no go.

I also want the value in the database to show up in the edit box of the combo. So, the value that shows up is from one column, and the suggested list comes from another.

I am *not* talking about mapping state name abbreviations to long names. What I am doing is binding the combo to a column, but retrieving a list of suggested values from another db column.

How do I do this?

Thanks
Next
Reply
Map
View

Click here to load this message in the networking platform