this code is not adding a subitem
Code:
Me.ListView1.Items(R).SubItems(4).Text = totalPrice.ToString
all this code does is try to assign a text value to a subitem that already exists.
try
Code:
me.listview1.items(r).subitems.add(totalPrice.ToString)