Advertisement

06.09.2008 at 12:27PM PDT, ID: 23470236 | Points: 250
[x]
Attachment Details

Passing selections on a form to a confirmation page using asp.net c#

Asked by Sirdots in Programming for ASP.NET, Hypertext Markup Language (HTML), C# Programming Language

Tags: Asp.net C#, Internet exploper

I have this html form. Once my users complete the form and check a radio box, check 2 check boxes and fill the text box, I want to pass there entries to another page called confirmation page which displays all there entries. How can I achieve that?
I am guessing sessions will help. Code samples will be appreciated.


Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
<body>
    <form id="form1" runat="server">
    <div>
        <table border="1">
            <tr>
                <td style="width: 100px">
                    Amount</td>
                <td style="width: 100px">
                    <asp:TextBox ID="txtamount" runat="server"></asp:TextBox></td>
                <td style="width: 100px">
                </td>
            </tr>
            <tr>
                <td style="width: 100px">
                    Product</td>
                <td style="width: 100px">
                    <asp:radiobuttonlist id="radio1" runat="server" OnSelectedIndexChanged="radio1_SelectedIndexChanged">
                      <asp:listitem id="option1" runat="server" value="A" />
                      <asp:listitem id="option2" runat="server" value="B" />
                      <asp:listitem id="option3" runat="server" value="C" />
                    </asp:radiobuttonlist>
                <td style="width: 100px">
                </td>
            </tr>
            <tr>
                <td style="width: 100px; height: 22px">
                    Ship</td>
                <td style="width: 100px; height: 22px">
                    <asp:CheckBox ID="chktoday" runat="server" Text="Today" /><br />
                    <br />
                    <asp:CheckBox ID="chktmr" runat="server" Text="Tomorrow" /></td>
                <td style="width: 100px; height: 22px">
                </td>
            </tr>
            <tr>
                <td style="width: 100px">
                </td>
                <td style="width: 100px">
                    <asp:Button ID="btnsubmit" runat="server" Text="Submit" Width="111px" /></td>
                <td style="width: 100px">
                </td>
            </tr>
            <tr>
                <td style="width: 100px">
                </td>
                <td style="width: 100px">
                </td>
                <td style="width: 100px">
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
[+][-]06.09.2008 at 12:35PM PDT, ID: 21745928

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.09.2008 at 12:41PM PDT, ID: 21745976

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.09.2008 at 01:01PM PDT, ID: 21746152

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.09.2008 at 01:07PM PDT, ID: 21746195

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.09.2008 at 01:10PM PDT, ID: 21746227

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.09.2008 at 01:14PM PDT, ID: 21746262

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.09.2008 at 01:19PM PDT, ID: 21746303

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.09.2008 at 01:30PM PDT, ID: 21746391

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628