Click here to Skip to main content
15,886,806 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i want to know how to use querystring and Response Redirect ID=1, i mean you have 5 web pages example (webform1.aspx,webform2.aspx,webform3.aspx,webform4.aspx,webform5.aspx) but i don't want the pages to show without home.aspx?Id=1, i want to use home.aspx?Id=1,home.aspx?Id=2,home.aspx?Id=3,home.aspx?Id=1 to home.aspx?Id=5.

any tine click on link

<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/home.aspx?Id=1">HyperLink

<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/home.aspx?Id=2">HyperLink

<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/home.aspx?Id=3">HyperLink

<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/home.aspx?Id=4">HyperLink

<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/home.aspx?Id=5">HyperLink

please tell me how to do it, what i need to understand.
Posted
Updated 30-Sep-14 5:11am
v2
Comments
Sergey Alexandrovich Kryukov 20-Sep-14 23:38pm    
The question does not make sense. If you create 100 pages parametrized by a number 1.. 100, you won't really create 100 pages; you will create one with different piece in 100 variants.
—SA

1 solution

I don't understand the 100 pages thing.

If you are asking about the QueryString, then I would say, you can pass like that. Then read the value in Page and perform whatever you need.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900