open new window in asp.net with a query string

Posted by Gopal_nivas under ASP.NET on 8/20/2010 | Points: 10 | Views : 3044 | Status : [Member] | Replies : 2
hi..

i want to open my pagein new with with query string value..

the query string value is str="welcome";

how to do in c# (code behind)

need ur suggestions


explain with example
regards
gopal.s




Responses

Posted by: Shankul2784 on: 8/20/2010 [Member] Bronze | Points: 25

Up
0
Down

Hi,


Response.ReDirect("pagename.aspx?str=welcome");

I hope, this will help you.


Thanks & Regards,

Shailesh

Gopal_nivas, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vanchi050585 on: 8/21/2010 [Member] Starter | Points: 25

Up
0
Down
hi use this,

Response.ReDirect("WelcomePage.aspx?str="+str);

it will work very fine.

pls dont forget mark as Answer.

Thanks

Thanks
tvn

Gopal_nivas, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response