private void FormInHoaDon_Load(object sender, EventArgs e)
        {
            InHoaDon report = new InHoaDon();

            report.SetDataSource(hd.XuatHD(mahd));
            crystalReportViewer1.ReportSource = report;
        }
예제 #2
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            InHoaDon rpt = new InHoaDon();

            rpt.Site = this.Site;
            return(rpt);
        }