public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { CrystalReport2 rpt = new CrystalReport2(); rpt.Site = this.Site; return(rpt); }
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(); }