public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { smallbill rpt = new smallbill(); rpt.Site = this.Site; return(rpt); }
private void billreportworg_smallBill() { dataset_billing billingDS = getBillingDataset(); //report1 = new billreportworg(); ReportDocument report1 = new smallbill(); report1.SetDataSource(billingDS); crystalReportViewer1.ReportSource = report1; }