| Welcome to WebmasterWorld Guest from 188.8.131.52 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Post form data |
How to post the form data from ASP.net to specified URL?
| 11:28 am on Oct 6, 2005 (gmt 0)|
I need to post the ASP.net form to ASP file from another web Site. How to do this?
Thanks in advance.
| 9:09 pm on Oct 6, 2005 (gmt 0)|
Hi and welcome to the Webmaster World!
You can do this in the action of the form tag:
<form method = "post" name = "theform" action="http://www.example.com">
| 4:32 am on Oct 7, 2005 (gmt 0)|
I had created ASP.net form. I submitted the form to another ASP form. but in that ASP form, I could not retrive the ASP.net from element values.
What can I do to use that ASP.net form element values in ASP form?
| 6:42 pm on Oct 7, 2005 (gmt 0)|
Well if you are wanting to recieve the submitted form values there is two ways. If you submit a form using the "POST" method then on the "recieving" page you would get your value using:
MYVALUE = Request.Form("formVALUE")
If you submit a form using the "GET" method then on the "recieving" page you would get your value using:
MYVALUE = Request.querystring("formVALUE")
| 4:16 am on Oct 8, 2005 (gmt 0)|
I know these 2 methods. but while I post the ASP.net form to ASP form then, the values are "null" or undefined in ASP form.
Thanks for ur suggesstion..
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved