View Single Post
Old 02-07-2006, 12:29 PM   PM User | #3
hytechpro
New Coder

 
Join Date: Sep 2005
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
hytechpro is an unknown quantity at this point
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:
Originally Posted by Nischumacher
Code:
Response.Redirect("webform2.aspx?a=" + textbox1.Text + "&b=" + textbox2.text + "&c=" + textbox3.text);
here a, b, c hold the values... and can be accessed like...
Request.QueryString("a"), Request.QueryString("b"), Request.QueryString("c")... respectively
hytechpro is offline   Reply With Quote