【开发源码交付】【会员点餐系统php源码】【网上祭祀软件源码怎么找】单选按钮源码_单选按钮源码怎么输入
1.��ѡ��ťԴ��
��ѡ��ťԴ��
<%
RadioButtonList1.Items.Add(new ListItem("~分",单选单选开发源码交付 "O"));
RadioButtonList1.Items.Add(new ListItem("~分", "V"));
RadioButtonList1.Items.Add(new ListItem("~", "G"));
RadioButtonList1.Items.Add(new ListItem("~", "I"));
RadioButtonList1.Items.Add(new ListItem("~", "U"));
string Score = "V";
ListItem item = RadioButtonList1.Items.Cast<ListItem>().Where(o => o.Value == Score).SingleOrDefault();
int index = RadioButtonList1.Items.IndexOf(item);
if (item!=null)
{
RadioButtonList1.SelectedIndex = index;
}
else
{
RadioButtonList1.Items.Add(new ListItem("数据库添加",Score));
}
%>
<asp:RadioButtonList ID="RadioButtonList1" runat="server">
</asp:RadioButtonList>