Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MmDropDownList got a bind
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01009054
Message ID:
01009158
Vues:
37
Thanks Kevin, I believe I did set the "Value" binding properties correctly as indicated in the documentation.
'Settings in the property sheet
BindingSource = boUnitedStates
BindingSourceDisplayMember = State
BindingSourceType = Default

BindingSourceValueMember = State
BindingType = TwoWay
BindingValueSource = boOrganization
BindingValueSourceMember = Organization.StoreState
Bear in mind however, this is a WEB application. I would expect that the binding behavior and settings are the same though.

Please Help.

Thanks

Glenn


>>I cannot seem to bind the mmDropDownList to my data. I have set the following properties:
>>
>>BindingSource = boUnitedStates
>>BindingSourceDisplayMember = State
>>BindingSourceValueMember = State
>>
>>BindingValueSource = boOrganization
>>BindingValueSourceMember = Organization.StoreState
>>
>>
>>When I save, the correct selected value is properly stored in the data, however when the page first loads the wrong value is displayed. I have tried the following in code in the Page_load event

>
>Check out the MM .NET Dev Guide topic "Data Binding Windows Forms List Controls". You need to set the "value" binding properties.
>
>Regards,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform