Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Boxes.
Message
De
10/12/2003 10:14:45
 
 
À
10/12/2003 09:51:23
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
Divers
Thread ID:
00857406
Message ID:
00857656
Vues:
30
Jim,

As Steve said in that thread I pointed you to, DataBinding can be a confusing word. Controls like TextBoxes only have Simple Binding. Controls like Combos have Complex Binding (now, whether these are legitimate terms or not, I don't know). Simple Binding a TextBox means binding the TextBox's .Text property to a column in a DataTable (or to a property of your form or control). With Complex Binding of a Combo, you have to do that also (you'd bind to the .SelectedValue) *and* you have to also fill the Combo with data. That's the only part you're doing right now ... filling the combo with data. You still need to bind it's .SelectedValue to a property on your form or to the column of a DataTable. Does that make sense now?

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform