ASP Request.Form() - Request Object Gets the collection of HTTP query string variables from method GET.
ShotDev Focus:
- Gets a collection of form method GET.
Syntax
Request.QueryString(element)
Example
asp_request_querystring1.asp
<html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <form action="asp_request_form2.asp" method="post" name="form1"> Name <input name="txtName" type="text"> Site <input name="txtSite" type="text"> <input name="btnSubmit" type="submit" value="Submit"> </form> </body> </html>
asp_request_querystring2.asp
<html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <form action="asp_request_form2.asp" method="post" name="form1"> Name <input name="txtName" type="text"> Site <input name="txtSite" type="text"> <input name="btnSubmit" type="submit" value="Submit"> </form> </body> </html>
Create a asp file and save to path root-path/myasp/
Run
http://localhost/myasp/asp_request_querystring1.asp
Screenshot
.
.
.