예제 #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            DepositCrystalReport rpt = new DepositCrystalReport();

            rpt.Site = this.Site;
            return(rpt);
        }
예제 #2
0
        public DepositCrystalReportUI(string month)
        {
            InitializeComponent();


            DepositManager aDepositManager = new DepositManager();
            HelperClass    helper          = new HelperClass();


            List <MemberWithDeposit> depositList = aDepositManager.GetMemberWithDepositList(month);

            DepositCrystalReport depositCrystalReport = new DepositCrystalReport();

            depositCrystalReport.SetDataSource(depositList);
            //depositCrystalReport.SetParameterValue("Month", helper.CurrentMonthAsString());
            //shopingCrystalReportViewer.ReportSource = shopingCrystalReport;
            depositCrystalReportViewer.ReportSource = depositCrystalReport;
        }