Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DropDownList - Selected Index To 0
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
DropDownList - Selected Index To 0
Divers
Thread ID:
01458151
Message ID:
01458151
Vues:
84
I have a DropDownList on my page. Loading it like this:
cboProgramManager.DataSource = dsProgMgr.Tables[0];
cboProgramManager.DataTextField = "Program Manager";
cboProgramManager.DataValueField = "Program Manager";
cboProgramManager.DataBind();
cboProgramManager.SelectedIndex = -1;
When I run it the first item in the list is selected. I don't want any item selected by default.
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform