.Net: how can I have a combobox with multitple fields of its data source as Displaymember?

Posted by odiseh on Stack Overflow See other posts from Stack Overflow or by odiseh
Published on 2010-05-16T13:02:35Z Indexed on 2010/05/16 13:30 UTC
Read the original article Hit count: 130

Filed under:
|

hi

How can I have a combobox with multiple fields of its data source as its display member without adding additional columns to its data source?

I mean I wanna to have a combobox with displaymember like "ID" + "-" "Name" . 1 - Black 2 - White 3 - Red

I DO NOT want to add additional column to its data source.

Thank you

© Stack Overflow or respective owner

Related posts about .NET

Related posts about combobox