binding comboboxes

Smithbr

Member
Joined
Jun 3, 2003
Messages
15
I have question about if something is possible.

I want to bind a combobox to my database. The problem is that the table I want to bind to have composite primary key made up of three entity sets. Is there a way that I can get a combo box to show all three columns of data as opposed to just one column like I have always seen. Any suggestions or a notice that it is not possible would be great.
Thanks
 
With the bult in combobox, you can only show one column. You can put an expression column in your DataTable that merges 3 fields into one and show that in the drop down. Or, you can use another control (many 3rd party controls can have multiple columns).

-Nerseus
 
Back
Top