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:
01381359
Vues:
32
>>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 --

Ya,. but where? In the data table? I have tried to add items, but you can't when the combo is bound.
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform