public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { CustomerReport rpt = new CustomerReport(); rpt.Site = this.Site; return(rpt); }
private void button16_Click(object sender, EventArgs e) { try { customerReport1 = new CustomerReport(); customerReport1.Load("../../CustomerReport.rpt"); my_rpt = new Reporting1(); my_rpt.crystalReportViewer1.ReportSource = customerReport1; my_rpt.crystalReportViewer1.RefreshReport(); my_rpt.ShowDialog(); } catch (Exception ex) { MessageBox.Show(ex.ToString()); } }
private void button16_Click(object sender, EventArgs e) { try { customerReport1 = new CustomerReport(); customerReport1.Load("../../CustomerReport.rpt"); my_rpt = new Reporting1(); my_rpt.crystalReportViewer1.ReportSource = customerReport1; my_rpt.crystalReportViewer1.RefreshReport(); my_rpt.ShowDialog(); } catch (Exception ex) { MessageBox.Show(ex.ToString()); } }
public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { CustomerReport rpt = new CustomerReport(); rpt.Site = this.Site; return rpt; }