![]() |
help in querrystring?
Hi all,
We can transfer the user input from one web page to other page by using cookies, session variables and querrystring. Is it possible to store 2 variables in querrystring if yes plz tell how??? Incase of single I cando it as follows Response.Redirect(“webform2.aspx?a=”+textbox1.Text); It works well Plz tell me what do do if I want more variables. Thanx Devs |
Code:
Response.Redirect("webform2.aspx?a=" + textbox1.Text + "&b=" + textbox2.text + "&c=" + textbox3.text);Request.QueryString("a"), Request.QueryString("b"), Request.QueryString("c")... respectively |
Yes i tried this but there is a problem when i access them
i am simply writing the values of a, b and c like this Response.Write(Request.QuerryString["a"]+"\n"+Request.QuerryString["b"]); suppose the values a=hi and b=devs then output is like this hi &b=devs required output is hi devs what is wrong??? Quote:
|
it is Request.QueryString["a"]...
NOT Request.QuerryString["a"]... |
| All times are GMT +1. The time now is 08:56 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.