Radiobuttonlist

S

seep

Hello,

I want to check if the user has selected one of 2
available radiobuttons..in c#

How to do this?
 
J

Joel Cade

Um...

If MyRadioButtonList.SelectedIndex = 0 Then
' First button clicked
ElseIf MyRadioButtonList.SelectedIndex = 1 Then
' Second button clicked
End If

Is that what you mean?

Joel Cade, MCSD
Fig Tree Solutions, LLC
http://www.figtreesolutions.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,141
Messages
2,570,816
Members
47,361
Latest member
RogerDuabe

Latest Threads

Top