|
| |||||||||
| Tags: asp form, get method, input type, request form, request querystring |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| ||||
| ||||
| How to use Get Method in ASP Form?
I am very new to the ASP (Active Server Pages). Now I want to create form by using the Get method. I have tried a lot but not getting the appropriate results. Can someone tell me how to use Get Method in ASP Form? Since I am new to this scripting, please provide me some code for the same. I will be thankful to all the correct solutions.!! Also please provide me coding as soon as possible.!
__________________ "Yea though I walk through the valley of the shadow of death... I will fear no evil." -Psalms 23 K8N Diamond Plus (BIOS v1.2) AMD Athlon 64 X2 4400+ Antec TruControl 550W NVidia GeForce 7900GT (NGO v1.8466 BETA) OCZ Platinum 2x1GB (2-3-2-5) SATA: WD740 PATA: 2xWD2500, WD1200, NEC DVD/RW |
|
#2
| ||||
| ||||
| Re: How to use Get Method in ASP Form?
Instead of explaining theoretically, I thought that providing you an example of the Get Method in ASP Form will be more useful to you. Here is coding for the same : Code: <form method="POST" action="TrialPost.asp"> Name <input type="text" name="Name"/> Age <input type="text" name="Place"/> <input type="submit" /> </form> |
|
#3
| ||||
| ||||
| Re: How to use Get Method in ASP Form?
Before doing the Get Method, you should also understand the Request object which can be used to retrieve user information from forms. The following is an example of the same : Code: <form method="get" action="trialform.asp"> First Name: <input type="text" name="name" /><br /> Last Name: <input type="text" name="add" /><br /><br /> <input type="submit" value="Submit" /> </form>
__________________ The FIFA Manager 2009 PC Game |
|
#4
| ||||
| ||||
| Re: How to use Get Method in ASP Form?
For collecting the values in a form with method="get", the Request.QueryString command is used. The drawback of using the Get Method is that the information sent from a form with the GET method is visible to everyone. It will be displayed in the browser's address bar. And also the get method has limits on the amount of information to send. The following ASP script contains the "trialform.asp". HTML Code: <body> Welcome <% response.write(request.querystring("name")) response.write(" " & request.querystring("place")) %> </body>
__________________ Grand Theft Auto 4 PC Video Game |
|
#5
| |||
| |||
| Re: How to use Get Method in ASP Form?
You can also use the following example for using the Get Method in ASP form.. The code is : Code: <form method="GET" action="gettrial.asp"> Your name<BR> <input type=text name=name size=15><BR> Your age<BR> <input type=text name=add size=45><BR> <input type=submit value="Send information"> </form> |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "How to use Get Method in ASP Form?" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Google Chrome is opening in basic HTML form instead of the Standard form | Beatrix | Technology & Internet | 5 | 25-05-2011 11:21 PM |
| how to get items in a form to auto-resize with the form using visual basic | deansmylie93 | Software Development | 2 | 02-05-2011 08:06 AM |
| How to validate form field before execution of a servlet service method | Quattro | Portable Devices | 3 | 11-09-2009 04:28 PM |
| HTML form get method | TAMAR | Software Development | 2 | 22-06-2009 02:40 PM |
| Problem reloading MDI child form in main form. | AFFAN | Software Development | 3 | 30-01-2009 09:05 PM |