Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Binding ListBox display to property added to Entity
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Binding ListBox display to property added to Entity
Miscellaneous
Thread ID:
01251063
Message ID:
01251063
Views:
62
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
Next
Reply
Map
View

Click here to load this message in the networking platform