Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BindingSourceDisplayMember of combobox
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00897497
Message ID:
00898037
Views:
17
David,

Thank you for the calculated column idea and the links.

Did you infer that the way Carl showed me causes extra trips to the database? Using MM.NET allows me to get away from to know ADO.NET well before becoming productive, but I will have to master it soon or later.

Chen

>Another way of doing it without making a trip back to the database is to use a calculated column in your datatable. Then bind to the calculated column.
>
>For displaying the related column, set up a relation and use a calculated column that refers to the parent or child datatable. http://www.devx.com/vb2themax/Tip/18863
>
>Or you can create your own control. See http://www.codeproject.com/vb/net/multicolumncombo.asp?target=multi%7Ccolumn%7Ccombobox
>Obviously you would have to make the control implement some of the MM.NET binding interfaces to integrate it with the MM framework.
>
>
>>Hi,
>>
>>
>>I use a combobox to provide a picklist of employees. What can I do so that I can set the
>>BindingSourceDisplayMember to be firstname +¡¯ ¡®+lastname, instead of only firstname or only lastname? What should I do with the employee biz object and the data form?
>>
>>Is it possible that I go even further so that BindingSourceDisplayMember can be firstname +¡¯ ¡®+lastname + ¡® ¡®+ position, with position in a different but related table?
>>
>>Chen
Chen Nan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform