dshrenik
asked on
POST parameters in ASP.NET
I want to redirect to another ASP.NET (C#) page and at the same time, pass POST parameters to it.
On the second page, I want to retrieve these parameters.
If possible, please provide some sample code. Thanks!
On the second page, I want to retrieve these parameters.
If possible, please provide some sample code. Thanks!
http://www.w3schools.com/a spnet/aspn et_forms.a sp
ASKER
The link is broken.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I want to do it this way:
HttpWebRequest req = (HttpWebRequest)WebRequest .Create(ur l);
I am not sure how I can POST parameters, and also redirect to the url. The webpage represented by "url" must then retrieve the POST parameters.
HttpWebRequest req = (HttpWebRequest)WebRequest
I am not sure how I can POST parameters, and also redirect to the url. The webpage represented by "url" must then retrieve the POST parameters.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The problem is that I need to construct the POST parameters with C# code. They're not values of form elements.