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