当前位置:Gxlcms > asp.net > Asp.Net如何将多个RadioButton指定在一个组中

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

时间:2021-07-01 10:21:17 帮助过:15人阅读

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

使用RadioButton的GroupName属性。

例如:
代码如下:

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

人气教程排行