Listbox only support a single data column, the MultiColumn property just toggles an alternate display style for that data ("to make vertical scrolling unnecessary").
ListView and DataGridView controls support multiple data columns.
1. You should ask in ASP.NET section if you wonder about ASP.NET. This forum is for Windows Forms.
2. Just use the designer to add the columns, unbound usage depends on the input data flow, for example you can dynamically add rows with Rows.Add or set a RowCount and use Item(column,row).Value, even for unbound you perhaps want to use setup a local DataTable. Here is a started for DataGridView control. We also a Winforms Grids forum with much info about this control.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.