Variable from Asp.net radio button

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>
 
D

dancer

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.
 

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

Top