public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { DSHS rpt = new DSHS(); rpt.Site = this.Site; return(rpt); }
private void FrmDS_Load(object sender, EventArgs e) { DataTable dta = new DataTable(); dta = ketnoi.loadDuLieu("SELECT * FROM DSHS"); DSHS baocao = new DSHS(); baocao.SetDataSource(dta); CRV.ReportSource = baocao; }