public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            rptItemCategoryList rpt = new rptItemCategoryList();

            rpt.Site = this.Site;
            return(rpt);
        }
示例#2
0
        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);
        }
示例#3
0
        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;
 }