Please help me out!!! i'm stuck with binding data to radio button in a formview

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nevoda
    New Member
    • Jul 2014
    • 1

    Please help me out!!! i'm stuck with binding data to radio button in a formview

    my code is as below, i try many times without code behind and it never work. i even don't know how to code in code behind. i need help!! can any one help me out?

    gender:<asp:Rad ioButton ID="MaleRadioBu tton" runat="server" Text="Male" Value="Male" GroupName="Gend er" Checked='<%# Bind("gender") %>'/>
    <asp:RadioButto n ID="FemaleRadio Button" runat="server" Text="Female" Value="Female" GroupName="Gend er" Checked='<%# Bind("gender") %>'/>
    Last edited by nevoda; Jul 28 '14, 05:44 AM. Reason: to change my title
Working...