public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { rptNhap rpt = new rptNhap(); rpt.Site = this.Site; return(rpt); }
private void ShowNhap(DateTime tu, DateTime den) { try { DataTable dt = tNhap.SetData(tu, den); RPT.rptNhap rpt = new RPT.rptNhap(); rpt.SetDataSource(dt); crystalReportViewer1.ReportSource = rpt; crystalReportViewer1.Refresh(); dt.Clear(); } catch (Exception ex) { MessageBox.Show("Kiểm tra lại thông tin"); TLog.WriteErr("frmRptNhap.cs.cs_ShowNhap", ex.Message + "||" + ex.StackTrace); } }
public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { rptNhap rpt = new rptNhap(); rpt.Site = this.Site; return rpt; }