var workbook = new XLWorkbook();
var worksheet = workbook.Worksheets.Add(dt,"Sample Sheet");
worksheet.Columns().AdjustToContents(1);
In case headers in first row are longer than values, this code does not adjust rows so that headers are not trimmed. In v0.68.1.0 all things were fine (.net 3.5)
var worksheet = workbook.Worksheets.Add(dt,"Sample Sheet");
worksheet.Columns().AdjustToContents(1);
In case headers in first row are longer than values, this code does not adjust rows so that headers are not trimmed. In v0.68.1.0 all things were fine (.net 3.5)