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

            rpt.Site = this.Site;
            return(rpt);
        }
Пример #2
0
        private void FRM_YeWuYuanYeJi_Load(object sender, EventArgs e)
        {
            BLL物流管理系统.报表统计.FRM_YeWuYuanYeJi.FRM_YeWuYuanYeJiClient myFRM_YeWuYuanYeJiClient = new BLL物流管理系统.报表统计.FRM_YeWuYuanYeJi.FRM_YeWuYuanYeJiClient();
            DataTable dtDingDan  = myFRM_YeWuYuanYeJiClient.FRM_YeWuYuanYeJi_Load_ChaXunDingDan().Tables[0];
            DS_WuLiu  myDS_WuLiu = new DS_WuLiu();

            myDS_WuLiu.Tables["BaoBiao_订单报表"].Merge(dtDingDan);
            CRP_YeWuYuanYeJi myCRP_YeWuYuanYeJi = new CRP_YeWuYuanYeJi();

            myCRP_YeWuYuanYeJi.SetDataSource(myDS_WuLiu);
            crystalReportViewer1.ReportSource = myCRP_YeWuYuanYeJi;
        }