Esempio n. 1
0
        public void DoExportExcel()
        {
            string lFileName = ShowExportDialog(RsExportFormat.ExcelDocument);

            if (lFileName != null)
            {
                ReportProvider.ReportExporter = new RsRptToExcelExporter(ReportProvider);
                ReportProvider.ExportReport(lFileName);
            }
        }
Esempio n. 2
0
        public void DoExportWord()
        {
            string lFileName = ShowExportDialog(RsExportFormat.PortableFormatDocument);

            if (lFileName != null)
            {
                ReportProvider.ReportExporter = new RsRptToWordExporter(ReportProvider);
                ReportProvider.ExportReport(lFileName);
            }
        }
Esempio n. 3
0
        public void DoExportHTML32()
        {
            string lFileName = ShowExportDialog(RsExportFormat.PortableFormatDocument);

            if (lFileName != null)
            {
                ReportProvider.ReportExporter = new RsRptToHtmlExporter(ReportProvider);
                ((RsRptToHtmlExporter)(ReportProvider.ReportExporter)).HtmlVersion = RsHtmlVersion.Html32;
                ReportProvider.ExportReport(lFileName);
            }
        }