Explain how to pass a querystring from an .asp page to .aspx page
Explain how to pass a querystring from an .asp page to .aspx page
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Santhosh NPosted Dec 29, 2009, 11:45 PM
ASP
<%
Response.Redirect "urPage.aspx?id=22"
%>
ASPX Code Behind (urPage.aspx.cs)
int myID = Convert.ToInt32(Request.QueryString["ID"]);