Tab space in ASP.NET listbox
Anyone know how to insert tab characters in an ASP.NET listbox? I want to use it so that all my items are lined up because i have two fields o开发者_运维问答n each line a number and a name. In winforms all I have to do is:
Listbox.Items.Add(number + "\t" + name);
But in ASP.NET Webforms this doesnt work any ideas?
In the ASP.NET listbox, you can't do this. Why don't you use a GridView control instead ?
精彩评论