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 14:31:36
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:
01168833
Views:
16
Dimitry did you saw the hml that got generated to see if the spaces appears in the html?

>>Dimitry you mean select padr(alltrim(ID_FIELD),10,' ') + DESC_FIELD as MYNEWFLD
>>and then on the drop down list you set DataTextField as the mynewfld.
>>Everything should work fine.
>>
>
>It should but it does not. That is, the field MYNEWFLD does appear in the dropdown list with both the ID_FIELD and the DESC_FIELD. But the first character of the DESC_FIELD appears all over the place. This is because DLL ignores the spaces I use to pad the field ID_FIELD. And I use mono spaced font (Courier New), so I am baffled to what is going on there.
Alexandre Palma
Senior Application Architect
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform