Dim MonPrice As Decimal
If RadioBtnMon20.Checked Then
TxBxPRICE.Text = TxBxPRICE.Text
MonPrice = MonPrice + 120
ListBox1.Items.Add(RadioBtnMon20.Text)
End If
If RadioBtnMonHD.Checked Then
TxBxPRICE.Text = TxBxPRICE.Text
MonPrice = MonPrice + 140
ListBox1.Items.Add(RadioBtnMonHD.Text)
End If
If RadioBtnMonFullHD.Checked Then
MonPrice = MonPrice - 140 + 170
ListBox1.Items.Add(RadioBtnMonFullHD.Text)
ElseIf RadioBtnMoniterStand.Checked Then
ListBox1.Items.Add(RadioBtnMoniterStand.Text)
End If
TxBxPRICE.Text = TxBxPRICE.Text + MonPrice
i want to add only one price if selected but with this one if i choose another option then its keep adding price instead of removing previous price and put selected price..
can you help sove this pleasee
thanxxx