listview

mzim

Well-known member
Joined
Jun 3, 2004
Messages
187
Location
Other side of the rock
Programming Experience
1-3
halu to everyone. i have this problem on how to subtract the amount from the listview.
i have a form and a listview w/ 2 columns(amount and types of payment) and a textbox name:txttotalamount.
i have a function on how to remove a selected item in the listview w/ the use of context menu.

what i want is when the user select an item in the listview and remove the amount it will subtract to the total amount(txttotalamount.text).
i have this code and it didn't work
VB.NET:
 txttotalamount.Text = (Decimal.Parse(txttotalamount.Text) - ListView1.Items(0).ToString)

thanks in advance for the help...mate..
 
Back
Top