How can we specify a line break in Labels text ?

 Posted by Chvrsri on 2/28/2012 | Category: C# Interview questions | Views: 2692 | Points: 40
Answer:

This is very simple question where we can specify line break using <br> tag. Sample follows

   Label1.Text = "<Anothertag>" + "<br>" + "<AnotherTag>";  


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response