public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { rptWarehouseList rpt = new rptWarehouseList(); rpt.Site = this.Site; return(rpt); }
public static ReportDocument LoadWarehouseList() { ReportDocument rpt = new Master.rptWarehouseList(); dsReports ds = new dsReports(); ds.EnforceConstraints = false; WarehousesTableAdapter ta = new WarehousesTableAdapter(); ta.ClearBeforeFill = true; ta.Connection = AppHelper.GetDbConnection(); ta.Fill(ds.Warehouses); RetrieveDeveloper(ds.Developer); RetrieveOwner(ds.Owner); rpt.SetDataSource(ds); return(rpt); }
public static ReportDocument LoadWarehouseList() { ReportDocument rpt = new Master.rptWarehouseList(); dsReports ds = new dsReports(); ds.EnforceConstraints = false; WarehousesTableAdapter ta = new WarehousesTableAdapter(); ta.ClearBeforeFill = true; ta.Connection = AppHelper.GetDbConnection(); ta.Fill(ds.Warehouses); RetrieveDeveloper(ds.Developer); RetrieveOwner(ds.Owner); rpt.SetDataSource(ds); return rpt; }
public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { rptWarehouseList rpt = new rptWarehouseList(); rpt.Site = this.Site; return rpt; }