Hi
I have 2 radiobutton in my vb.net application..first radio button name is yes and another one is no..
i want to show error when i did not select any one of these radiobuttons?
like u must choose any one radio button
plz answers with code..
Hi
I have 2 radiobutton in my vb.net application..first radio button name is yes and another one is no..
i want to show error when i did not select any one of these radiobuttons?
like u must choose any one radio button
plz answers with code..
Know the answer? Post it. Somebody with the same question will find it here.
Mahesh ChandRank #1 · 392.9K pointsPosted Feb 14, 2008, 7:45 AM EST
You can check states:
If RadioButton1.Checked or RadioButton2.Checked Then
' Do something
Else
' Show error message
End If