コード例 #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            CrystalReport rpt = new CrystalReport();

            rpt.Site = this.Site;
            return(rpt);
        }
        public void GetCrystalReport()
        {
            ReportDocument crReportDocument = new ReportDocument();

            crReportDocument = new CrystalReport();
            //crReportDocument.SetDataSource(ds);
            crReportDocument.SetParameterValue("Image", txtImageUrl.Text.ToString());
            crystalReportViewer1.ReportSource = crReportDocument;
        }
        public void GetCrystalReport()
        {
            ReportDocument crReportDocument = new ReportDocument();

            crReportDocument = new CrystalReport();
            //crReportDocument.SetDataSource(ds);
            crReportDocument.SetParameterValue("Image", SharedClass.ImageUrl);
            crystalReportViewer1.ReportSource = crReportDocument;
        }