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.
Hmmmmmmm
I'm embaressed.
I am looping through a collection and adding items to a listvew control with the following code:
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)
NextHmmmmmmm
I'm embaressed.