开发者

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 ?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜