示例#1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            DX_RP rpt = new DX_RP();

            rpt.Site = this.Site;
            return(rpt);
        }
示例#2
0
        private void RP_DX_Load(object sender, EventArgs e)
        {
            List <SP_CHITIETPHIEUDEXUAT_Result> tmp = db.SP_CHITIETPHIEUDEXUAT(soPhieu).ToList();
            BindingSource bs = new BindingSource();

            bs.DataSource = tmp;
            DX_RP rp = new DX_RP();

            rp.SetDataSource(bs);
            crv.ReportSource = rp;
            crv.RefreshReport();
        }