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

时间:2022-01-17 07:41:16

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

使用RadioButton的GroupName属性。 

例如: 

复制代码代码如下:


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