asp.net - Aspose.Cells wrap the terms between triple double quotes -
using aspose.cells need csv file terms wraped between double quotes. reason terms after first column surrounded triple double quotes when saving csv file, like: """term"""
this 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 want csv file term as
"term"
then should save in csv file
"""term"""
please type
"""term"""
in notepad , save .csv file. open in microsoft excel , see value, find displayed
"term"
note: working developer evangelist @ aspose
Comments
Post a Comment