asp.net 如何判断後才生成radio或checkbox
如何做到/////中间的效果,判断後才生成radio或checkbox<div><asp:LabelID="QuestionLabel"runat="server"Tex...
如何做到/////中间的效果,判断後才生成radio或checkbox
<div>
<asp:Label ID="QuestionLabel" runat="server" Text=""></asp:Label>
<br />
<br />
///////////////////////////////////////////////////
if(something)
<asp:RadioButtonList ID="RadioButtonList1" runat="server"></asp:RadioButtonList>
else
<asp:CheckBoxList ID="CheckBoxList1" runat="server"></asp:CheckBoxList>
///////////////////////////////////////////////////
<asp:Button ID="NextButton" runat="server" Text="Next" /
</div> 展开
<div>
<asp:Label ID="QuestionLabel" runat="server" Text=""></asp:Label>
<br />
<br />
///////////////////////////////////////////////////
if(something)
<asp:RadioButtonList ID="RadioButtonList1" runat="server"></asp:RadioButtonList>
else
<asp:CheckBoxList ID="CheckBoxList1" runat="server"></asp:CheckBoxList>
///////////////////////////////////////////////////
<asp:Button ID="NextButton" runat="server" Text="Next" /
</div> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询