c# Listview displaying in lines
Posted
by Tumble
on Stack Overflow
See other posts from Stack Overflow
or by Tumble
Published on 2010-04-27T08:37:51Z
Indexed on
2010/04/27
8:53 UTC
Read the original article
Hit count: 232
Basically I have a Listview control which has coloums (displayed in Detail mode) I add items to it that I want displayed, each under 1 colomn (Like an invoice) but it displays them all under the first instead. I've been adding items like this below which I guess is the wrong way to do it but every other way I tried is not working. You can see he result in the screenshot.
lstVLine.Items.Add(lineItem, lstVLine.Items.Count);
lstVLine.Items.Add(itemName,lstVLine.Items.Count);
© Stack Overflow or respective owner