Click here to Skip to main content
15,665,004 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
http://localhost:1480/FrmSales.aspx?bill=96[^]
Is it possible to bind the bill=96 to the texbox control which is available in FrmSales.aspx
Posted

TextBox1.Text = Request.QueryString("bill")
Try this......
 
Share this answer
 
Yes possible.

They are called Query Strings.
C#
TextBox1.Text = Request.QueryString["bill"].ToString();


Refer: Passing variables between pages using QueryString[^]
 
Share this answer
 
v2
Comments
V B B Ramoji Rao 15-Jun-12 7:27am    
Thank you
Sandeep Mewara 15-Jun-12 7:33am    
Welcome.
Manas Bhardwaj 15-Jun-12 17:10pm    
to the point +5!
Sandeep Mewara 16-Jun-12 4:44am    
Thanks Manas.
you can use Session or in load event like:
request.querystring["data"].
 
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