Alright, the above problem solved (Sending selected data from one listview to another listview).
Now i am facing problem calling the specific column's subitems to label box
Here is what i mean :
I have added 3 items to my listview2 and when i click confirm purchase, i want it to sum all the price and show the total in my label1.
I am able to archive that only for the 1st items's subitem with this code
Label1.Text = lv1.SelectedItems(0).SubItems(4).Text
//because selecteditems is pointing to 0 which is 1st item in the list and subitems is pointing to 4 which is price column.
How if i have more than 1 item? Can help me on this? I really new to listview
16 Replies - 2897 Views - Last Post: 29 December 2012 - 04:05 AM