private void FormInPhieuNhap_Load(object sender, EventArgs e) { InPhieuNhap report = new InPhieuNhap(); report.SetDataSource(pn.XuatPhieuNhapSach(sopn)); crystalReportViewer1.ReportSource = report; }
public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { InPhieuNhap rpt = new InPhieuNhap(); rpt.Site = this.Site; return(rpt); }