Hi
I use below code for binding CheckBox from database
if (_dr["Radiator"] != null && _dr["Radiator"].ToString() != "")
{
RDBSH.Checked = true;
}
I want bind RadioButtonList from database like above how I can do it?
<asp:RadioButtonList ID="RBL1" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Text="North" Value="North"></asp:ListItem>
<asp:ListItem Text="South" Value="South"></asp:ListItem>
</asp:RadioButtonList>
Best Regards
Neda