in .NET, is there a way to convert a string with \n (new line) and other special characters to HTML respecting the formatting? If not I could write my own method to replace \n with < BR/>' put I wonder if there is a better way.
views:
21answers:
1
A:
There is no better way, for example if you want to have a label's text take up two lines, you must manual add <br />
to the text of the label were you want the break to be.
Jacob Nelson
2010-07-02 00:45:53