How to bold label in asp.net

{0 Comments}

You can apply bold property to asp.net label or any other property in static and dynamically both manner, for static you can simply add css style with property font-weight: bold; and apply same dynamically as follows;

 C# |  copy code |? 
1
Label1.Attributes.Add("style","font-weight:bold");

 

Leave a Comment

Your email address will not be published.