<td align="left"> <asp:RadioButton ID="optSkinIsSelect" runat="server" /> <strong><span><%#DataBinder.Eval(Container.DataItem, "Name")%></span></strong> </td>
foreach (DataListItem item in DataList1.Items) { if (item.ItemType == ListItemType.Item || item.ItemType == ListItemType.AlternatingItem) { RadioButton optSkinIsSelect = (RadioButton)item.FindControl("optSkinIsSelect"); if (optSkinIsSelect != null) { if (optSkinIsSelect.Checked) { Response.Write(optSkinIsSelect.Checked.ToString()); } else { } } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)