Gembox.spreadsheet.dll ✓

// Add data worksheet.Cells[0, 0].Value = "Product"; worksheet.Cells[0, 1].Value = "Qty"; worksheet.Cells[0, 2].Value = "Price"; worksheet.Cells[0, 3].Value = "Total";

A unique feature of this DLL is direct HTML rendering: gembox.spreadsheet.dll

worksheet.Cells[1, 0].Value = "Widget"; worksheet.Cells[1, 1].Value = 10; worksheet.Cells[1, 2].Value = 5.99; worksheet.Cells[1, 3].SetFormula("=B2*C2"); // Add data worksheet

HorizontalAlignment = HorizontalAlignmentStyle.Center, FillPattern = FillPatternStyle.Solid, FillPatternForegroundColor = SpreadsheetColor.FromName(ColorName.DarkBlue), FontColor = SpreadsheetColor.FromName(ColorName.White) ; worksheet.Cells.GetSubrange("A1:D1").Style = headerStyle; // Add data worksheet.Cells[0

workbook.Save("Report.xlsx"); For truly massive files (500k+ rows), use the LoadOptions to stream data:

// Style a header var headerStyle = new CellStyle