Sales
1-888-9DOTNET
|
Yes, XlsIO provides support for opening and saving csv files. While saving files we have options to save as unicode,ascii and other non-unicode encoding. C# //Opening a File IWorkbook workbook = application.Workbooks.Open(@"..\..\..\..\..\Data\CSVfile.csv",","); //Saving the workbook to disk. sheet.SaveAs("Sample.csv",",",Encoding.ASCII); VB 'Opening a File Dim workbook As IWorkbook = application.Workbooks.Open("..\..\..\..\..\Data\CSVfile.csv",",") 'Saving the workbook to disk. sheet.SaveAs("Sample.csv",",",Encoding.ASCII) Here is the sample for your reference to open csv file: OpenCSVFile.zipHere is the sample for your reference to save csv file: SaveCSVFile.zip |