Exemplo n.º 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            crpInHoaDon rpt = new crpInHoaDon();

            rpt.Site = this.Site;
            return(rpt);
        }
Exemplo n.º 2
0
        private void InHoaDon_Load(object sender, EventArgs e)
        {
            crpInHoaDon rp = new crpInHoaDon();

            rp.SetDataSource(dtp);

            rp.Subreports["crpInHoaDonPhong.rpt"].SetDataSource(dtp);
            //rp.SetDataSource(dtdv);
            rp.Subreports["crpInDichVu.rpt"].SetDataSource(dtdv);
            crv.ReportSource = rp;
        }