public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { CustomerBill rpt = new CustomerBill(); rpt.Site = this.Site; return(rpt); }
//C. Using crystal reports to create reports with: //3. Calling reports from C# private void BillReport_Load(object sender, EventArgs e) { br = new CustomerBill(); crystalReportViewer1.ReportSource = br; }