Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Binding ListBox display to property added to Entity
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Binding ListBox display to property added to Entity
Divers
Thread ID:
01251063
Message ID:
01251063
Vues:
61
I added a property to an Entity class that combines two fields to display ina a listbox. When I set the BindingSourceDisplayMember property on the mmListBox I get an error: DataBinding: 'System.Data.DataRowView' does not contain a property with the name ...

If I use an ObjectDataSource I can use this property, but the ODS flakes out the AJAX I'm using on the page to update a gridview driven by the listbox.

Is there another way to set the display value? Can I use an expression such as prop1 + " " + prop2
Regards,

E.R. Gilmore
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform