techques
asked on
How to add hyperlink to aspx label?
Hi
I get a string from DB and display on aspx page as label.
I need to add a hyperlink to that label.
How can I do that?
I use VC#
I get a string from DB and display on aspx page as label.
I need to add a hyperlink to that label.
How can I do that?
I use VC#
<a href="test.aspx"><asp:Label ID="Label5" runat="server" /></a>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thanks for the points techques but really you shouldn't have accepted what informaniac said as an answer as what he said is completeley 100% wrong!
Think you got mixed up a bit. If you did want to do things using a label and not an actual hyperlink control then < and > are correct. < and > will escape these and output them in the rendered content and not treat them as html tags.