private void SetHeaderList(IExcelSheet sheet) { sheet.SetCellValue(1, 1, @"Create Date"); sheet.SetCellValue(1, 2, @"File Name"); int col = 3; foreach (string s in columnList) { sheet.SetCellValue(1, col++, s); } }