在Repeater 控件中嵌套RadioButtonList控件RadioButtonList如何绑定数据?最好详细代码
<asp:RepeaterID="rpTheme"runat="server"OnItemDataBound="rpTheme_ItemDataBound"><ItemT...
<asp:Repeater ID="rpTheme" runat="server" OnItemDataBound="rpTheme_ItemDataBound" > <ItemTemplate> <p><%#Eval("ID")%>銆? <%#Eval("ThemeText")%> </p> <p> <asp:RadioButtonList ID="rblValues" runat="server" RepeatDirection="Horizontal" DataTextField="Value" DataValueField="Value"> </asp:RadioButtonList> </p> </ItemTemplate> </asp:Repeater>
展开
搜索资料
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询