0

hi, can u check where have i gone wrong on this code?

i have 2 listviews with similar columns, whenever i click the item on listview_1, it will transfer to my listview_2. the code below adds the column_named 'UNITS' to my label box

For Each TempNode In ListView1.Items
If Double.TryParse(TempNode.SubItems.Item(2).Text, TempDbl) Then
TotalUnit += TempDbl
Label15.Text = TotalUnit
End If
Next

but how can i deduct whats on my label box whenever i remove the item in my listview_2?


please help. sorry if i didnt explain it clearly..

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by codeorder
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.