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

            rpt.Site = this.Site;
            return(rpt);
        }
Пример #2
0
        public void InHoaDon()
        {
            HoaDonIn hdi = new HoaDonIn();
            DataSet  ds  = new DataSet();

            hoadon_bus.HoadonIn().Fill(ds);
            HoaDonInn hoadoninn = new HoaDonInn();

            hoadoninn.SetDataSource(ds.Tables[0]);
            hdi.crvhoadon.ReportSource = hoadoninn;
            this.Hide();
            hdi.ShowDialog();
        }