在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> 展开
<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个回答
2013-11-22
展开全部
Repeater 的 itesCommd 事件里 (RadioButtonList )(e.item.frinclotrl("rblValues"))
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询