Question : ASP Button With QueryString

I know this has been answered here 1000 times.  I've been searching and can't seem to find a simple answer.

I am new to ASP.net.  I am using Visual Web Developer 2008 Express.  It is a vb site.

I have a button on my page called Button1.  I have a label on my page called Label1 which holds a value.  That label value = ILoveTacos.  When I click the button, I want be redirected to http://mysite.com/default.aspx?Label1=ILoveTacos

Can someone please help me figure this out?  Thanks a ton.

Answer : ASP Button With QueryString

On the Button in the design view open the properties window, click on the lightning bolt at the top. on the click event double click the white area.

In the newly created method put the following in

Response.Redirect("http://mysite.com/default.aspx?Label1=" & Label1.Text)
Random Solutions  
 
programming4us programming4us