// Creates Excel Workbook that is used for Export to Excel request. protected internal void CreateExcelBook() { ISDExcelBook = new ISDWorkbook(); ISDExcelBook.Properties.Title = Title; ISDExcelSheet = new ISDWorksheet("Sheet1"); ISDExcelBook.Worksheets.Add(ISDExcelSheet); ISDExcelRow = new ISDWorksheetRow(); ISDExcelSheet.Table.Rows.Add(ISDExcelRow); }
protected internal void AddRowToExcelBook() { if (ISDExcelSheet == null) return; ISDExcelRow = new ISDWorksheetRow(); ISDExcelSheet.Table.Rows.Add(ISDExcelRow); }