Beispiel #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            HelloWorldReport rpt = new HelloWorldReport();

            rpt.Site = this.Site;
            return(rpt);
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            CrystalReportViewer1.ToolPanelView = ToolPanelViewType.None;
            var report = new Reports.HelloWorldReport();

            CrystalReportViewer1.ReportSource = report;
            CrystalReportViewer1.RefreshReport();
        }