Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Text export to .csv

Status
Not open for further replies.

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!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top