Click here to Skip to main content
15,909,051 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to send value from textbox to another form after button click. How to send value of the textbox to another form. How to post form to get value in another form.
Posted

There are several ways to accomplish this, all of which are covered in most basic ASP.NET books and online resources. Have you looked?

Query string
Session state
Application state
Database
 
Share this answer
 
you can achieve it by using the ASP.NET out of box feature named cross page post back

please have a look

http://msdn.microsoft.com/en-us/library/ms178139.aspx[^]
 
Share this answer
 
try this:

response.redirect("your_page_name.aspx?Var_Name="+Convert.ToInt32(12));

and in your_page_name.aspx you can get this value by Request.QueryString["Var_Nam"];

you can pass multiple values by adding & symbol
 
Share this answer
 

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