public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { TrayMaterialDeliveryTime rpt = new TrayMaterialDeliveryTime(); rpt.Site = this.Site; return(rpt); }
private void crystalReportViewer1_Load(object sender, EventArgs e) { TrayMaterialDeliveryTime TMDT = new TrayMaterialDeliveryTime (); DataSet ds = GetDs(); if (ds.Tables[0].Rows.Count != 0) { TMDT.SetDataSource(ds); crystalReportViewer1.ReportSource = TMDT; } }
private void crystalReportViewer1_Load(object sender, EventArgs e) { TrayMaterialDeliveryTime TMDT = new TrayMaterialDeliveryTime(); DataSet ds = GetDs(); if (ds.Tables[0].Rows.Count != 0) { TMDT.SetDataSource(ds); crystalReportViewer1.ReportSource = TMDT; } }
public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { TrayMaterialDeliveryTime rpt = new TrayMaterialDeliveryTime(); rpt.Site = this.Site; return rpt; }