hello
i have a form where it has multiple checkboxes, and its up to users to select or unselect the checkbox.
then user have to choices to go back to the main page; ok and cancel button
if clicks on OK, the program works fine
but if clicks on CANCEL,, the program still works as it is.. meaning the checkboxes will still update (if user check, then it will check)
Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click
'End If
Me.DialogResult = DialogResult.OK
End Sub
Private Sub btnCancel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCancel.Click
Me.DialogResult = DialogResult.Cancel
End Sub
above are the codes for OK and CANCEL..
please assist me so that it will not save the checkbox select/unselect when click CANCEL?
thanks ^^