IRow template_row = sheet.GetRow(start_row); IRow hRow = sheet.CreateRow(row_index); hRow.Height = template_row.Height; { ICell hCell = hRow.CreateCell(colMemberName, CellType.STRING); hCell.CellStyle = template_row.GetCell(colMemberName).CellStyle; hCell.SetCellValue(!String.IsNullOrEmpty(record.CustomerName) ? record.CustomerName : String.Empty); } { ICell hCell = hRow.CreateCell(colWaitTime, CellType.NUMERIC); hCell.CellStyle = template_row.GetCell(colWaitTime).CellStyle; hCell.SetCellValue(record.WaitTime); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)