Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox- show list of suggested values
Message
De
02/01/2004 16:15:18
Gerald Caussade
Department Mental Health - Missouri
Farmington, Missouri, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
ComboBox- show list of suggested values
Divers
Thread ID:
00863557
Message ID:
00863557
Vues:
86
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform