GadeDinesh
Programmer
I have a checkbox in a repeater control. How to get the User,Administrator,Security Admin as the checkbox Names ?
private string[] AvailableRoles = { "User", "Administrator", "Security Admin" };
Repeater_Roles.DataSource = AvailableRoles; Repeater_Roles.DataBind();
<asp:Repeater ID="Repeater_Roles" OnItemDataBound="Repeater_Roles_ItemDataBound" runat="server">
<ItemTemplate>
<asp:CheckBox ID="CheckBox_Roles" runat="server" />
</ItemTemplate>
</asp:Repeater>
Thanks in Advance
.
private string[] AvailableRoles = { "User", "Administrator", "Security Admin" };
Repeater_Roles.DataSource = AvailableRoles; Repeater_Roles.DataBind();
<asp:Repeater ID="Repeater_Roles" OnItemDataBound="Repeater_Roles_ItemDataBound" runat="server">
<ItemTemplate>
<asp:CheckBox ID="CheckBox_Roles" runat="server" />
</ItemTemplate>
</asp:Repeater>
Thanks in Advance
.