public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { CRP_ErWeiMaWangDianDaYin rpt = new CRP_ErWeiMaWangDianDaYin(); rpt.Site = this.Site; return(rpt); }
private void FRM_ErWeiMaWangDianDaYin_Load(object sender, EventArgs e) { DS_WuLiu myDS_WuLiu = new DS_WuLiu(); myDS_WuLiu.Tables["BaoBiao_网点二维码"].Merge(dtErWeiMa); CRP_ErWeiMaWangDianDaYin myCRP_ErWeiMaWangDianDaYin = new CRP_ErWeiMaWangDianDaYin(); myCRP_ErWeiMaWangDianDaYin.SetDataSource(myDS_WuLiu); crystalReportViewer1.ReportSource = myCRP_ErWeiMaWangDianDaYin; }