This is the First page (Default.aspx one) with Question No. 1
CODE
<form id="form1" runat="server" action="Default1.aspx" >
<div>
Q1: What question no is this question?<br />
<asp:RadioButton ID="RadioButton1" runat="server" Text="1" />
<br />
<asp:RadioButton ID="RadioButton2" runat="server" Text="2" />
<br />
<asp:RadioButton ID="RadioButton3" runat="server" Text="3" />
<br />
<asp:RadioButton ID="RadioButton4" runat="server" Text="4" />
<br />
<asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click" />
</div>
</form>
when the button is is clicked, the second page will be shown, here "Default1.aspx". In that page, i've the same code but a different question.
In that page, I want to retrieve which radio button the user checked and according to that, assign a variable for the mark. That variable will be added to more marks for each question as the user keeps answering the next and the next question and so on.
Im a complete beginner. Kindly elaborate me if anything is missing.