public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { CrystalReport3 rpt = new CrystalReport3(); rpt.Site = this.Site; return(rpt); }
private void Report_NhaSanXuat_Load(object sender, EventArgs e) { nhasanxuatTableAdapter1.Fill(dataSet11.NHASANXUAT); CrystalReport3 rp = new CrystalReport3(); rp.Database.Tables[0].SetDataSource(dataSet11); crystalReportViewer1.ReportSource = rp; }