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