Spire.XLS for .NET is a professional Excel .NET component that can be used to any type of .NET 2.0, 3.5, 4.0 or 4.5 framework application, either ASP.NET web sites or Windows Forms application. It offers object model Excel API for speeding up Excel programming in .NET platform - create new Excel documents from template, edit existing Excel documents and convert Excel files.
Suite of Office .NET Components to open, modify, convert, and view Office files.
It is a set of classes, specifically designed to read Microsoft® Excel files
Comments (2)
{
File.Delete(Util.XLSXFileName);
}
//Save as xlsx using Spire
Workbook workbook = new Workbook();
workbook.LoadFromFile(Util.CSVFileName, ",", 1, 1);
Worksheet sheet = workbook.Worksheets[0];
sheet.Name = "csv to excel";
workbook.SaveToFile(Util.XLSXFileName, ExcelVersion.Version2010);