Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: Post to another page


Message #1 by "Rajesh" <rajesh@r...> on Wed, 20 Nov 2002 12:47:46 +0300
Hi,

How can I post data to another page? It always post to same page when it is <form runat="server">. 

Thanks in advance
Rajesh

Message #2 by "Peter Zahos" <Peter@i...> on Thu, 21 Nov 2002 08:47:09 +0800
Rajesh,

The easiest method is to use Response.Redirect.  Simply append any
parameters onto the URL in the form of a query string and use the
Request object to extract your data on the following page.

I asked the same question when first started with .NET.

Pete

-----Original Message-----
From: Rajesh [mailto:rajesh@r...]
Sent: Wednesday, November 20, 2002 5:48 PM
To: aspx_beginners
Subject: [aspx_beginners] Post to another page


Hi,

How can I post data to another page? It always post to same page when it
is <form runat=3D"server">.

Thanks in advance
Rajesh



Message #3 by "Rajesh" <rajesh@r...> on Thu, 21 Nov 2002 08:28:04 +0300
Thanks Pete.
I used Server.Transfer. But I cannot take values from Form collection.


----- Original Message -----
From: "Peter Zahos" <Peter@i...>
To: "aspx_beginners" <aspx_beginners@p...>
Sent: Thursday, November 21, 2002 3:47 AM
Subject: [aspx_beginners] RE: Post to another page


Rajesh,

The easiest method is to use Response.Redirect.  Simply append any
parameters onto the URL in the form of a query string and use the
Request object to extract your data on the following page.

I asked the same question when first started with .NET.

Pete

-----Original Message-----
From: Rajesh [mailto:rajesh@r...]
Sent: Wednesday, November 20, 2002 5:48 PM
To: aspx_beginners
Subject: [aspx_beginners] Post to another page


Hi,

How can I post data to another page? It always post to same page when it
is <form runat="server">.

Thanks in advance
Rajesh







  Return to Index