Dot Net Lover

Saturday, November 25, 2006

Query String from ASP to ASP.net

Many times we require to communicate asp pages to our asp.net pages.
Below is the way through which we can pass query string variables from an ASP page to asp.net Page

just write response.redirect "webform1.aspx?pid=1" on your asp page.

You can retrieve the same in aspx page just like

Response.Write (Request["pid"].ToString ());

0 Comments:

Post a Comment

<< Home