From 8bdf6dabdcbe55a4ddbf545fe7b34b6acf092942 Mon Sep 17 00:00:00 2001 From: Kham Date: Wed, 25 Aug 2021 16:09:04 +1000 Subject: [PATCH] add frozen for excel format --- .../Repository/ConcessionValidationReportRepository.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CarParkValidationAPI/Repository/ConcessionValidationReportRepository.cs b/CarParkValidationAPI/Repository/ConcessionValidationReportRepository.cs index 7bb37db..d03c750 100644 --- a/CarParkValidationAPI/Repository/ConcessionValidationReportRepository.cs +++ b/CarParkValidationAPI/Repository/ConcessionValidationReportRepository.cs @@ -57,13 +57,14 @@ namespace CarParkValidationAPI.Repository sl.SetCellValue(row, col++, "Date"); sl.SetCellValue(row, col++, "Concession Card"); sl.SetCellValue(row, col++, "Concession Holder"); - sl.SetCellValue(row, col++, "Is Concession Expiry"); + sl.SetCellValue(row, col++, "Expiry date checked"); sl.SetCellValue(row, col++, "ConcessionType"); sl.SetCellValue(row, col++, "Validation Piont"); sl.SetCellValue(row, col++, "StaffLink No"); sl.SetCellValue(row, col++, "Staff first name"); sl.SetCellValue(row, col++, "Staff last name"); sl.SetCellValue(row, col++, "Staff Email"); + sl.FreezePanes(row, col - 1); //frozen the row. //wrap text on is concession Expiry style = sl.CreateStyle(); style.SetWrapText(true);