Hi,
How do I post data from one form to another url & get back to my previous page after getting result from that url..?
I want some sample code for this in ASP.NET with C#.
Consider that I have near about 40 text fields on my webform & I want to post them to some url on button click....& get back to my site..
Please help me asap how to achieve this....?
Thanks
How to post data to another url..?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Anil Tripathi110 reputationPosted Oct 17, 2006, 2:15 PM EDT
You can't post the page to other url in asp.net 1.1.
You can post the page to other url in asp.net 2.0.
So if you are using asp.net 1.1 you can't post data to other page.
Anil
Kaustubh Deshmukh4 reputationPosted Oct 17, 2006, 8:48 PM EDT
Hi,
Thanks for reply.
Well the thing is that I'm using dot.net 2.0 only......But the scenario is I want to post certain text field values to another site's url on button click event....
So please guide me thru it in dot.net 2.0..... I would be more than happy if you have got any sample code for this....
Thanks