public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { rptHD rpt = new rptHD(); rpt.Site = this.Site; return(rpt); }
public void ShowHD(int ma) { DataTable dt = new DataTable(); if (ma == 0) // DataSet ds = new DataSet(); dt = tXuat.GetDataHD(maHD); else dt = tXuat.GetDataHD(ma); // ds.Tables.Add(dt); rptHD rpt = new rptHD(); rpt.SetDataSource(dt); crystalReportViewer1.ReportSource = rpt; crystalReportViewer1.Refresh(); }
public void ShowHD(int ma) { DataTable dt = new DataTable(); if (ma == 0) { // DataSet ds = new DataSet(); dt = tXuat.GetDataHD(maHD); } else { dt = tXuat.GetDataHD(ma); } // ds.Tables.Add(dt); rptHD rpt = new rptHD(); rpt.SetDataSource(dt); crystalReportViewer1.ReportSource = rpt; crystalReportViewer1.Refresh(); }
public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { rptHD rpt = new rptHD(); rpt.Site = this.Site; return rpt; }