Пример #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            Stock_In_PrintReport rpt = new Stock_In_PrintReport();

            rpt.Site = this.Site;
            return(rpt);
        }
Пример #2
0
        private void Stock_In_Report_Load(object sender, EventArgs e)
        {
            Stock_In_PrintReport ob = new Stock_In_PrintReport();

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