How to write data on multiple lines BUT within the same cell of csv?

后端 未结 5 950
深忆病人
深忆病人 2020-12-15 19:24

I want to create one csv file using C#.

I have some data which I want to write on multiple lines BUT within the same cell.

For example If I have following t

5条回答
  •  温柔的废话
    2020-12-15 20:19

    CSV stands for "comma seperated values" which is just a description of a text-file. If you want to import into Excel and then only have the sentences in one line you should try:

    Environment.NewLine
    

    instread of a simple /n

提交回复
热议问题