Tuesday, 2 August 2011

Is it possible to pass a querystring from an .asp page to aspx page?

Yes you can pass querystring from .asp to ASP.NET page .asp

<%response.redirect "webform1.aspx?id=11"%>


.aspx
VB.NET

Response.Write (Request("id").ToString ())


C#

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

No comments:

Post a Comment