I have a StoredProcedure that returns a string. In the string I put CHAR(13) and CHAR(10) to have carriage return and line feed. I read the string from a winform in VB.NET and the string correctly has a "VBCrLf" in it. When I look at the string during debug (you know, using the little magnifing glass) the lines are correctly there.
THEN: I put the string in the text of a Multiline Textbox and the lines disappear, everything is on a single line.
If I then apply:
myString.Replace(vbCrLf, vbNewLine)
and put it back in the same textBox, everything works fine again.
How can avoid the replace? Thankx