欢迎来到皮皮网网首页

【arm cortex vhdl源码】【arm 11源码】【维修店源码】单选按钮源码_单选按钮源码怎么输入

来源:web全套源码 时间:2024-11-25 00:05:05

1.��ѡ��ťԴ��

单选按钮源码_单选按钮源码怎么输入

��ѡ��ťԴ��

       <%

        RadioButtonList1.Items.Add(new ListItem("~分",单选单选arm cortex vhdl源码 "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>