I am just simply creating a web application.
I wanted to insert a line break in a label
for example
label1.Text = "I AM HERE" + "\n" + "I AM NOW HERE";
I wanted to print it as
I AM HERE
I AM NOW HERE
But, it is not working… I don’t know why…
I even tried
label1.Text = "I AM HERE" + '\n' + "I AM NOW HERE";
its not working.. What should I do….
Use
<br />instead of\n.