Using Aspose.Cells I need a csv file with my terms wraped between double quotes. For some reason the terms after the first column are surrounded by triple double quotes when saving my csv file, like: """term"""
This is my code:
WorkbookDesigner wd = new WorkbookDesigner();
wd.Workbook.Initialize();
Worksheet sht = wd.Workbook.Worksheets[0];
string value = "term";
value = string.Format("\"{0}\"", value);
sht.Cells[row + rowOffset, column].PutValue(value);
wd.Save(fileLoc, FileFormatType.CSV);
I'm using Aspose.Cells version 4.8.0.0
If you want to get a CSV file with your term as
"term"
then you should save it in your CSV file as
"""term"""
Please type
"""term"""
in a notepad and save it as .csv file. Now open it in Microsoft Excel and see its value, you will find it is displayed as
"term"
Note: I am working as Developer Evangelist at Aspose