Click here to Skip to main content
15,917,636 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can I underline the text displayed in a Label control in a TemplateField of a grid?
Posted
Updated 2-Jun-10 2:24am
v2

1 solution

Try

XML
<asp:label id="MyLabel1" style="text-decoration: underline" runat="server" text="Some Text"></asp:label>


OR

XML
<asp:label id="MyLabel2" font-underline="true" runat="server" text="Some Text"></asp:label>
 
Share this answer
 
v2
Comments
R. Giskard Reventlov 2-Jun-10 8:25am    
Nice one: so busy editing his question that you'd already answered by the time I was done!

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