asp.net - How can I display User Input to another page -


how can display user input if have example. (default.aspx)
firstname: (textbox)
last name: (textbox)

i wanted display user input coming default.aspx page (webform1.aspx) using response.redirect.

how can ?

is

response.redirect("webform1.aspx?variablename" + textbox1.text) , textbox1.text.request.querystring("variablename") 

working ?

yes, work need add = after variable name below

 response.redirect("webform1.aspx?variablename1=" + textbox1.text + "&variablename2="+ textbox2.text); 

and in yourwebform1.aspx

textbox1.text = request.querystring["variablename"]; textbox2.text = request.querystring["variablename2"]; 

Comments