public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { in_cs rpt = new in_cs(); rpt.Site = this.Site; return(rpt); }
public void loadrp(string s) { s = t; DataTable tb = new DataTable(); tb = truyxuat.laybang(s); Print.Cs.in_cs r = new Cs.in_cs(); r.SetDataSource(tb); crystalReportViewer1.ReportSource = r; }