Click here to Skip to main content
16,004,782 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have one label on my page on which I have a value. I also have a hyperlink when the user clicks on the hyperlink I want to pass the value of the label to another page. please provide me answer, I have very less time to complete this task.

Thanks in advance
Posted

<asp:HyperLink ID="addDevelopmentPlan" runat="server" NavigateUrl="~/manager/uploadTrainingPlan.aspx?id=<% RequestQueryString[“id”]"%

>link
 
Share this answer
 
v2
Try This,

<asp:hypherlink id="h1" runat="server" text="CustomersDetails" xmlns:asp="#unknown">

in .cs page

string id=14;
string companyname ="umapathi";

hl.NavigateUrl = "~/CustomerDetails.aspx?customerid=" + id.ToString() + "&companyname=" + companyname.ToString();
 
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