I used "\r\n" instead of "\n" and it works.....
> I have a windows forms application with a TextBox display. I use the
> following code to display a line in the TextBox:
[quoted text clipped - 11 lines]
>
> Esper
> I used "\r\n" instead of "\n" and it works.....
>
[quoted text clipped - 13 lines]
>>
>> Esper
Or better yet, Environment.Newline

Signature
Bits.Bytes
http://bytes.thinkersroom.com
Raymond Yuen - 31 Jan 2007 04:32 GMT
Apart from the solution given by Rad, the new line character in Windows
platform contains 0x0D and 0x0A.
Regards,
Raymond
>> I used "\r\n" instead of "\n" and it works.....
>>
[quoted text clipped - 15 lines]
>
> Or better yet, Environment.Newline