I have two databases one is the master and one is the detail,
table1 is the master and table2 being the detail.
table2 has comments and dates on when the comments were added.
My problem:
I have to export out a CSV file (C#) and have all the comments in one field.
I can do this, however my boss is importing this into excel and would like the have a carriage return (or something) at the end of each comment so they wrap in one cell
The comments are formatted like this: “11/10/201: comment1 11/10/2011: comment two“
when it get imported into excel I would like to comments to auto wrap so they look like this in the excel cell:
11/10/2011: comment1
11/10/2011: comment two
I try the \r and the \n but then excel place the comment into a separate cell.
any help would be great.
The correct answer is a line feed, or \n. You should also make sure the cell has: