| Welcome to WebmasterWorld Guest from 126.96.36.199 |
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?
I need to post the ASP.net form to ASP file from another web Site. How to do this?
Thanks in advance.
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">
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?
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")
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