General information
Title:
ComboBox- show list of suggested values
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only