Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 listbox from SELECT statement

Author  Topic 

fonzie
Starting Member

31 Posts

Posted - 2008-09-22 : 13:02:43
I have a listbox, font is courier new, that 3 fields are misaligned due to names of varying length. There must be a fix for this?
select name+office+phone as name from cust order by name

looks like:

jones off11 3459
bronstein off12 4489
smithers off77 4909

afrika
Master Smack Fu Yak Hacker

2706 Posts

Posted - 2008-09-22 : 13:33:01
So what are you trying to achieve ?
Go to Top of Page

fonzie
Starting Member

31 Posts

Posted - 2008-09-22 : 13:36:58
Trying to have perfect column alignment..to look like...


jones off11 3459
bronstein off12 4489
smithers off77 4909



Can't get it to show using this, html is OFF for some reason
Go to Top of Page
   

- Advertisement -