tb
Programmer
- May 27, 2003
- 328
I am exporting text to a csv file using stringbuilder. (C#)
The problem that is that some text (from the Database originates from multiline textbox) have \r\n in them. Thus opening in Excel is looks terrible. Is there a way to replace \r\n with ALT + \r\n - which would be acceptable for Excel to display properly in a cell ?
Anybody any ideas?
I was standing in the park, wondering why frisbees got bigger as they came closer... then it hit me!
The problem that is that some text (from the Database originates from multiline textbox) have \r\n in them. Thus opening in Excel is looks terrible. Is there a way to replace \r\n with ALT + \r\n - which would be acceptable for Excel to display properly in a cell ?
Anybody any ideas?
I was standing in the park, wondering why frisbees got bigger as they came closer... then it hit me!