Home » FAQ » ASP.NET » Basic » 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 ());
Platform BlazorASP.NETWinFormsWPF.NET MAUI
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with