C#: DataBase Null in RadioButtonList
- by Vinzcent
Hey,
I would like to have a radiobuttollist were you can select value null.
Something like this:
<asp:RadioButtonList ID="rblCD" runat="server" SelectedValue='<%# Bind("tblCD") %>'>
<asp:ListItem Value="RW">RW</asp:ListItem>
<asp:ListItem Value="R">R</asp:ListItem>
<asp:ListItem Value="DBNull">None</asp:ListItem>
</asp:RadioButtonList>
Thanks a lot,
Vincent