passing one page value to another page

Posted by Mohan9382 under Others on 12/21/2011 | Points: 10 | Views : 1516 | Status : [Member] | Replies : 1
I have submit.html file and submit.asp file.In submit.html file i have one text box and one dropdownlist and one submit dropdown list i have mange,orange,chocolate,....While i am click submit query button it will display following in submit.asp file.for example welcome mohan your flavour is chocolate Rs.25.If i am selecting chocolate in dropdownlist.otherewise whatever i selected in dropdownlist that corresponding price will be display in submit.asp file

Thanks in advance
Here my code

<Form action="/bca/Submit.asp" method="post">
<p>Enter Your Name Here <input name="name" size=25>
<p>Select Flavour :<Select name="flavour">
<p><input type="submit" value="submit query">

below my submit.asp code
<p>welcome <%=Request.Form("name")%>
<p> Your favourite flavour is <%=Request.Form("flavour")%>


Posted by: Hemanthlaxmi on: 12/21/2011 [Member] Starter | Points: 25

Querystring is suffixed with the url of the page separated by "?" (question mark) in the form of key and value. Below code snippet, we have "autoid" and "com" querystring with "8" and "show" value respectively.


Note: In case we want to pass multiple querystring, they are separated by "&" (Ampersand symbol)

If this helps you .
Please "Mark as Answer"

Mohan9382, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response