コード例 #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            rptDailyFeeReport rpt = new rptDailyFeeReport();

            rpt.Site = this.Site;
            return(rpt);
        }
コード例 #2
0
 public void GetFeeDetailsH()
 {
     try
     {
         ds.WriteXmlSchema(@"" + Connection.GetAccessPathId() + @"Barcodes\a\DailyFeeRcpt.xsd");
         rptDailyFeeReport fr = new rptDailyFeeReport();
         fr.PrintOptions.PaperOrientation = PaperOrientation.Portrait;
         fr.PrintOptions.PaperSize        = CrystalDecisions.Shared.PaperSize.PaperA4;
         fr.SetDataSource(ds);
         ShowAllReports s = new ShowAllReports();
         s.crystalReportViewer1.ReportSource = fr;
         s.Show();
     }
     catch (Exception ex)
     {
     }
 }