Variable from Asp.net radio button

  • Thread starter Thread starter dancer
  • Start date Start date
D

dancer

Using VB2005 and Asp.Net

How do I make a variable from an Asp: radio button? I know how to do it
from a asp:text box.

Here is my control:

<asp:RadioButtonList id=EmpCaution runat="server">
<asp:ListItem>Yes</asp:ListItem>
<asp:ListItem>No</asp:ListItem>

</asp:RadioButtonList>
 
Thank you. Worked well
I have an ASP.NET checkbox list of 18 items. - as shown below. Do I have to
dim all 18 items to make variables, or is there a shortcut?
<asp:CheckBoxList id=Indicate runat="server">
<asp:ListItem style> <font face="Verdana" Size="2">Improper
instruction</asp:ListItem>
<asp:ListItem> <font face="Verdana" Size="2">Lack of training or
skill</asp:ListItem>
etc.
 
Back
Top