-
|
Hi. and it should of course look like this The CsvWriter instance is configured like this And the code producing the csv looks like this: The Product class and its Map looks like this: It's probably just something "silly" I've forgotten but I can't figure out what so any help would be more than welcome. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
|
Beta Was this translation helpful? Give feedback.
WriteHeaderdoesn't add a newline. You need to callNextRecordfor that to happen. Based on your example, you don't need to callWriteHeaderat all.WriteRecordswill do that for you.