コード例 #1
0
        // 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);
        }
コード例 #2
0
        protected internal void AddRowToExcelBook()
        {
            if (ISDExcelSheet == null)
                return;

            ISDExcelRow = new ISDWorksheetRow();
            ISDExcelSheet.Table.Rows.Add(ISDExcelRow);
        }