示例#1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            CrystalReport2 rpt = new CrystalReport2();

            rpt.Site = this.Site;
            return(rpt);
        }
示例#2
0
        private void REPORTVIEWER_Load(object sender, EventArgs e)
        {
            //MessageBox.Show("REPORT");
            MessageBox.Show(p);
            CrystalReport2 ob = new CrystalReport2();

            ob.SetParameterValue("DATETIME", p);
            crystalReportViewer1.ReportSource = ob;
            // crystalReportViewer1.Refresh();
            GetInserted();
        }