Oh hold on, you are talking about a textbox here. Sorry, I thought you just
had text right in the HTML.
Try using System.Environment.Newline instead of '\n'.
"frank" <> wrote in message
news:600C0CD3-9239-47E4-8C95-...
> please help!
>
> How to keep the format of the content of a MultiLine TextBox. For example,
> 'new line'
>
> I try the code:
> ------------------------------
> TextBox.Text = "TERANET / MPAC - KEY TERMS OF USE \n" & _
> "3.1 \n" & _
> ......
> ------------------------------
>
> The display in Browser is:
> ------------------------------
> TERANET / MPAC - KEY TERMS OF USE \n3.1\n ...
> ------------------------------
>
> Thanks a lot!
>
|