Hi,
I'm new and I'm trying to convert excel to HTML, I'm using this code to convert:
using Syncfusion.XlsIO;
ExcelEngine excelEngine = new ExcelEngine();
IApplication application = excelEngine.Excel;
IWorkbook workbook;
using (FileStream file = new FileStream("input_html.xlsx", FileMode.Open, System.IO.FileAccess.Read))
{
workbook = application.Workbooks.Open(file);
}
IWorksheet sheet = workbook.Worksheets[0];
workbook.Version = ExcelVersion.Xlsx;
using (FileStream file = new FileStream("syncfusion output html.html", FileMode.Create, System.IO.FileAccess.Write))
{
workbook.SaveAsHtml(file);
}
Can I have cell id like "A1" as attribute on the table cells in the generated htmt
<td data-cell="A1"></td>?
Thanks