Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to show 2 columns in drop down list
Message
From
10/11/2006 11:33:15
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01168759
Message ID:
01168765
Views:
14
No Dimitry your not missing anything .net combos have 1 value dield and another display field and that's it, you cannot display 2 fields in the combo unless you concatunate them together.


>I have a drop-down-list bound to a dataset. But I can't seem to find a way to show 2 fields from the dataset, just like you can do in VFP by setting Combobox.ColumnCount property to 2. I realize that I can created a concatenated field but they they look very unappealing together. This is, of course, because of the different values in each row. It would be nice to separate the two fields, one is ID, another is the description of the ID.
>
>I thought maybe I am missing something so I decided to ask here.
>
>Thank you.
Alexandre Palma
Senior Application Architect
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform