Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drop down list initial value
Message
De
24/07/2006 13:32:14
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01139244
Message ID:
01139296
Vues:
15
Linda,

Try this:

this.MmDropDownList1.Items.Add(new ListItem("FirstEntry", "0"));
HTH

Rex

>I would like to have my drop down lists be blank when a user first enters a screen. I set the SelectedIndex property to -1 in the load of the form but they still show a value in the box. Do I have to add a blank option to the item list?
>
>Thanks.
>
>Linda
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform