Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MmComboBox
Message
De
27/10/2010 16:49:03
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
27/10/2010 14:05:50
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Divers
Thread ID:
01487209
Message ID:
01487260
Vues:
43
Hi Bob,

>Hello. I have a combobox that has 8 items in the items property. I'm databinding the control to a field in a table, but when I run the form none of my items are displayed in the combobox when I have the bindingsource properties set. Any help on this?
>
>Thanks.
>
>-Bob

Where are you calling the code to retrieve the entites from the business object that will fill those items? Also what properties do you have set for the combo box? Is this being synchronized with another business object property?
You would need to set the BindingSource to the business object as well as the BindingSourceDisplayMember to the property you want to display at a minimum. And you would need to call some form of GetEntites() to retrieve the items for the comboBox.

If you are populating the items manually, then what is the purpose of the databinding and what properties do you have set?
Tim
Timothy Bryan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform