Asp.Net 中将多个RadioButton指定在一个组中

来源:互联网 发布:什么是采集软件 编辑:程序博客网 时间:2024/04/30 07:35

Asp.Net 中将多个RadioButton指定在一个组中

使用RadioButton的GroupName属性。


例如:<asp:RadioButton ID="radOne_Tmp" runat="server" Text='<%#Eval("Template_Name") %>' GroupName="radOne_Tmp" ToolTip='<%#Eval("ID") %>' />