asp.net datalist中的radiobutton如何进行判断?
<asp:DataListID="DataList1"runat="server"><ItemTemplate><asp:LabelID="th"runat="serve...
<asp:DataList ID="DataList1" runat="server" > <ItemTemplate> <asp:Label ID="th" runat="server" Text="Label"></asp:Label> : <asp:Label ID="TitleLabel" runat="server" Text='<%# Eval("Title") %>' /> <br /> <asp:RadioButton ID="RadioButton1" GroupName="group" runat="server" /> A:<asp:Label ID="ALabel" runat="server" Text='<%# Eval("A") %>' /> <br /> <asp:RadioButton ID="RadioButton2" GroupName="group" runat="server" /> B:<asp:Label ID="BLabel" runat="server" Text='<%# Eval("B") %>' /> <br /> <asp:RadioButton ID="RadioButton3" GroupName="group" runat="server" /> C:<asp:Label ID="CLabel" runat="server" Text='<%# Eval("C") %>' /> <br /> <asp:RadioButton ID="RadioButton4" GroupName="group" runat="server" /> D:<asp:Label ID="DLabel" runat="server" Text='<%# Eval("D") %>' /> <br /> </ItemTemplate> </asp:DataList>
展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询