示例#1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            rptWarehouseList rpt = new rptWarehouseList();

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