How to apply format i.e. Font-Bold in Label dynamically?

 Posted by vishalneeraj-24503 on 12/25/2013 | Category: ASP.NET Interview questions | Views: 732 | Points: 40
Answer:

In the code-behind,we can have <b> tag,which we have to append at start and end of Text.

For Example:-

lbl_name.Text = "<b>" + "Vishal" + "</b>";


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response