I am creating a multiple choice quiz but I am not sure how to check if the answer selected is the correct one.
I have
If radAnswer1.Checked = True Then
End If
But do not know what to put after the "then". I am trying to compare the value in a label called lblAnswer1 with a value in my database called Correct Answer.
The value in lblAnswer1 is linked to the Answer 1 field in my database.
I will do the same for the other 3 possible answers.
Any help would be much appreciated.