. How do I proceed to the next line in list view? my code is
Code:Dim LVItem As New ListViewItem Dim total(29) As Decimal Dim q As Integer If q <= 29 Then LVItem.Text = PFlavor(q) If Quantity(q) = 1 Then LVItem.SubItems.Add("".ToString) LVItem.SubItems.Add("".ToString) Else LVItem.SubItems.Add(price(q).ToString) LVItem.SubItems.Add(Quantity(q).ToString) End If total(q) = price(q) * Quantity(q) LVItem.SubItems.Add(total(q).ToString) ListView1.Items.Add(LVItem) q += 1 End If q = 0


Reply With Quote

