public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { rptTheodoicongno rpt = new rptTheodoicongno(); rpt.Site = this.Site; return(rpt); }
private void ShowcongnoKH(string ten, DateTime from, DateTime to) { DataTable dt = tcongno.SetData(from, to); if (ten != "") { int i = 0; for (i = 0; i < dt.Rows.Count; i++) { if (dt.Rows[i]["kh"].ToString() != ten) { dt.Rows[i].Delete(); i -= 1; } } } RPT.rptTheodoicongno rpt = new RPT.rptTheodoicongno(); rpt.SetDataSource(dt); crystalReportViewer1.ReportSource = rpt; crystalReportViewer1.Refresh(); dt.Clear(); }
private void ShowcongnoKH(string ten,DateTime from, DateTime to) { DataTable dt = tcongno.SetData(from, to); if (ten != "") { int i = 0; for (i = 0; i < dt.Rows.Count; i++) { if (dt.Rows[i]["kh"].ToString() != ten) { dt.Rows[i].Delete(); i -= 1; } } } RPT.rptTheodoicongno rpt = new RPT.rptTheodoicongno(); rpt.SetDataSource(dt); crystalReportViewer1.ReportSource = rpt; crystalReportViewer1.Refresh(); dt.Clear(); }
public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { rptTheodoicongno rpt = new rptTheodoicongno(); rpt.Site = this.Site; return rpt; }