public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { TransactionReport rpt = new TransactionReport(); rpt.Site = this.Site; return(rpt); }
private void TransactionPrintReport_Load(object sender, EventArgs e) { TransactionReport rpt = new TransactionReport(); rpt.SetDataSource(_list); crystalReportViewer1.ReportSource = rpt; crystalReportViewer1.Refresh(); }