Octavio Rodrigues

Octavio Rodrigues

  • 2.1k
  • 10
  • 209

How to pass selected radio button to a parameter

Aug 3 2022 2:39 PM

I need some help How do I pass the selected radio button value to a parameter? I'm new to asp.net and C#.  Any help or examples would be greatly appreciated.

               <ItemTemplate>  
                                        <asp:RadioButtonList ID="RblNoYes" runat="server" AutoPostBack ="true">
                                            <asp:ListItem Text="No" Value="False"></asp:ListItem>  
                                            <asp:ListItem Text="Yes" Value="True"></asp:ListItem>
                                        </asp:RadioButtonList>  
                                    </ItemTemplate>  
                                    <ControlStyle Width="60px" />
                                    <ItemStyle Width="60px" />
                     </asp:TemplateField>

 


Answers (5)