hi all. i've been doing a checkbox that is controlled by bitmaps.
it is successful when i checked the check box and updated it. but it is not successful when i try to uncheck and update it. it will be as if it was checked like before.
below is my coding
Dim ItemCount As Integer = 3 Dim Total As Integer = 0 For i = 0 To ItemCount Dim chk As CheckBox = Page.FindControl("cb" & StringValue & i.ToString) If chk.Checked Then Total = Total + RefNo(i) End If Next i Return Total