Click here to Skip to main content
15,893,487 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to use value of the texbox to another form how can i get this value,without using session. i write this but not working:
string act = Request.Form["TextBox1"];
Posted

 
Share this answer
 
better use querystring in first page

response.redirect("secondpage.aspx?id='"Textbox1.text"'");

in second page i.e. which page u want to get text box value

string str=request.querystring["id"].ToString();

i think this will help u...
 
Share this answer
 
Comments
rahul dev123 18-May-11 8:06am    
If i use this then its not secure because anybody can modify our url. any other procedure

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900