Ejemplo n.º 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            rptItemCategoryList rpt = new rptItemCategoryList();

            rpt.Site = this.Site;
            return(rpt);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 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;
 }