Asp.Net如何将多个RadioButton指定在一个组中
(编辑:jimmy 日期: 2025/5/16 浏览:3 次 )
Asp.Net 中将多个RadioButton指定在一个组中
使用RadioButton的GroupName属性。
例如:
复制代码 代码如下:
<asp:RadioButton ID="radOne_Tmp" runat="server" Text='<%#Eval("Template_Name") %>' GroupName="radOne_Tmp" ToolTip='<%#Eval("ID") %>' />
使用RadioButton的GroupName属性。
例如:
复制代码 代码如下:
<asp:RadioButton ID="radOne_Tmp" runat="server" Text='<%#Eval("Template_Name") %>' GroupName="radOne_Tmp" ToolTip='<%#Eval("ID") %>' />
下一篇:C#中的FileUpload 选择后的预览效果具体实现