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

            rpt.Site = this.Site;
            return(rpt);
        }
Пример #2
0
        public HoaDonNhanTien(DataTable data)
        {
            InitializeComponent();
            cpHoaDonNhanTien rp = new cpHoaDonNhanTien();

            rp.SetDataSource(data);
            rpHoaDon.ReportSource = rp;
        }