RadioButton (VB.NET)
RadioButton controls have the value True or False. To check the value of an option button in a Select Case statement use code like:
Select Case True
Case optReserved.Checked
Call bookReserved ( theater( ), availableSeats )
Case optGeneral.Checked
Call bookGeneral ( theater( ), availableSeats )
End Select
The values can also be checked in an If statement.
RadioButton Control in Visual Basic .NET (replaces OptionButton)