advanced code snippet search
engebaja on 05/08/13
csv excel convert xls c#
1 person have marked this snippet as a favorite
Convert Excel file (XLS) to CSV
Report this snippet
I use this tool: http://www.aspose.com/.net/excel-component.aspx to convert my excel files to csv and vice versa and this tool also convert excel files to many other formats.
Thanks for the sample code. Here I'd like to provide you another solution on this issue, try following code snippet:
static void Main(string args)
Workbook workbook = new Workbook();
Worksheet sheet = workbook.Worksheets;
sheet.SaveToFile("sample.csv", ",", Encoding.UTF8);
You need to login to post a comment.