How can I set asp:Hyperlink text-decoration in code behind?
I have a object referenc开发者_JS百科e to asp:HyperLink
. I see it has a Style property inherited from base. But, how can I set text-decoration = none
from code behind?
You can use:
myHyperlink.Style.Add("text-decoration", "none");
精彩评论