Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Empty Row In Combo
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01381353
Message ID:
01381355
Vues:
28
>I have a stored procedure which returns a distinct list of categories. I call it via a strored proc and bind the DS to a combo.
>
>Problem is, once the user selects an item in the combo, there's no way to choose nothing. There's no empty row. Initially I have set the combo's SelectedIndex to -1, but that doesn't allow the user to unselect the selected item in the combo.
>
>Anyone?

Add one additional entry to your combobox with -- Select --
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform