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

            rpt.Site = this.Site;
            return(rpt);
        }
Beispiel #2
0
        private void Job_Order_Report_Load(object sender, EventArgs e)
        {
            Job_Order_PrintReport ob = new Job_Order_PrintReport();

            ob.SetParameterValue("fromdate", Job_Order_ChooseDate.datey);
            ob.SetParameterValue("todate", Job_Order_ChooseDate.datez);
            crystalReportViewer1.ReportSource = ob;
            crystalReportViewer1.Refresh();
        }