Exemple #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            CustomerBill rpt = new CustomerBill();

            rpt.Site = this.Site;
            return(rpt);
        }
Exemple #2
0
 //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;
 }