Sorry about this silly question but I haven't done any Winforms work or VB in ages.
I am looping through a collection and adding items to a listvew control with the following code:
All my listview shows is : item1 item1item1item1 in the horizontal.Code:For Each f As FDayResult In failedResults Dim item1 As New ListViewItem("lstItem") item1.SubItems.Add(f.QTY.ToString()) item1.SubItems.Add(f.ProductCode) ListView1.Items.Add(item1) Next
Hmmmmmmm
I'm embaressed.





Reply With Quote