Add columns to Listbox

To have columns in a ListBox you have to concatenate all the data together and handle spacing yourself, which isn't very convenient

However, a ListView in Detail view has columns, as many as you want. If I have more than 1 column nowadays, I just use a ListView from the start

If you'd like a quick ListView demo (because getting a listview item's index is a little tricky) I can whip one up real quick
 
Here's the winforms demo

It'll take me a little bit of time to make a webforms demo (thanks for reminding me that this is asp.net)
 
Back
Top