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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Mahesh ChandPosted Feb 14, 2008, 12:45 PM
You can check states:
If RadioButton1.Checked or RadioButton2.Checked Then
' Do something
Else
' Show error message
End If