Thanks for the solution Paul
As you say the easiest way is to just insert the tags into the string before it goes in the label text
ie
mystr = "The Quick brown
jumps over thge lazydog
"
>>I am doing an app in ASP .net
>>
>>I often need to display several lines of text in one control. I can do this in a read only multi line text box but it has vertical scroll bars which are not needed.
>>
>>I can not seem to do a multiline label. Is this possible. I dont want to do lots of since line labels.
>>
>
>If you know where you want to add a break in your line, you could probably just add the
tag to your label text whereever you want a line break. If not, the one other way I can think of doing this is via CSS (although I don't think this will work for every browser). You can create a CSS class that has something like this in it:
>
>
>.NoWrap
>{
> overflow:hidden;
>}
>
>
>Then, set the CssClass property of the textbox to NoWrap.