<b></b>This is my code. I want to insert the selected radio button value when clicked on NEXT button. Kindly help me with the aspx.cs code for the same. <asp:ListView ID="ListView1" runat="server" DataSourceID="SqlDataSource1"> <LayoutTemplate> <table> <asp:PlaceHolder runat="server" ID="itemplaceholder" /> </table> </LayoutTemplate> <ItemTemplate> <tr> <td> <img src='QuestionImages/<%#Eval("image") %>' height="1000" width="1000" /> </td> </tr> <tr> <td> <asp:Label text='<%#Eval("Question") %>' runat="server" /> </td> </tr> <tr> <td> <asp:RadioButton ID="option1" text='<%#Eval("Option1") %>' runat="server" GroupName="r1" /> </td> </tr> <tr> <td> <asp:RadioButton ID="option2" text='<%#Eval("Option2") %>' runat="server" GroupName="r1"/> </td> </tr> <tr> <td> <asp:RadioButton ID="option3" text='<%#Eval("Option3") %>' runat="server" GroupName="r1"/> </td> </tr> <tr> <td> <asp:RadioButton ID="option4" text='<%#Eval("Option4") %>' runat="server" GroupName="r1"/> </td> </tr> </ItemTemplate> </asp:ListView>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)