Beispiel #1
0
        static ViewDesignBid()
        {
            dsNBD = new NBDDataSet();
            PROJECTTableAdapter        daProject       = new PROJECTTableAdapter();
            TASKTableAdapter           daTask          = new TASKTableAdapter();
            WORKER_TYPETableAdapter    daWorkerType    = new WORKER_TYPETableAdapter();
            MATERIALTableAdapter       daMaterial      = new MATERIALTableAdapter();
            INVENTORYTableAdapter      daInventory     = new INVENTORYTableAdapter();
            MATERIAL_REQTableAdapter   daMaterialReq   = new MATERIAL_REQTableAdapter();
            CLIENTTableAdapter         daClient        = new CLIENTTableAdapter();
            LABOUR_SUMMARYTableAdapter daLabourSummary = new LABOUR_SUMMARYTableAdapter();

            try
            {
                daProject.Fill(dsNBD.PROJECT);
                daTask.Fill(dsNBD.TASK);
                daWorkerType.Fill(dsNBD.WORKER_TYPE);
                daMaterial.Fill(dsNBD.MATERIAL);
                daInventory.Fill(dsNBD.INVENTORY);
                daMaterialReq.Fill(dsNBD.MATERIAL_REQ);
                daClient.Fill(dsNBD.CLIENT);
                daLabourSummary.Fill(dsNBD.LABOUR_SUMMARY);
            }
            catch { }
        }
Beispiel #2
0
        static ProductionPlanApproval()
        {
            dsNBD = new NBDDataSet();
            PROJECTTableAdapter     daProject    = new PROJECTTableAdapter();
            TASKTableAdapter        daTask       = new TASKTableAdapter();
            WORKER_TYPETableAdapter daWorkerType = new WORKER_TYPETableAdapter();
            MATERIALTableAdapter    daMaterial   = new MATERIALTableAdapter();

            try
            {
                daProject.Fill(dsNBD.PROJECT);
                daTask.Fill(dsNBD.TASK);
                daWorkerType.Fill(dsNBD.WORKER_TYPE);
                daMaterial.Fill(dsNBD.MATERIAL);
            }
            catch { }
        }
        static DailyWorkReport()
        {
            dsNBD = new NBDDataSet();
            LABOUR_SUMMARYTableAdapter     daLabSum    = new LABOUR_SUMMARYTableAdapter();
            PROJECTTableAdapter            daProject   = new PROJECTTableAdapter();
            TASKTableAdapter               daTask      = new TASKTableAdapter();
            LABOUR_REQUIREMENTTableAdapter daLabourReq = new LABOUR_REQUIREMENTTableAdapter();
            PROD_TEAMTableAdapter          daProdTeam  = new PROD_TEAMTableAdapter();

            try
            {
                daLabSum.Fill(dsNBD.LABOUR_SUMMARY);
                daProject.Fill(dsNBD.PROJECT);
                daTask.Fill(dsNBD.TASK);
                daLabourReq.Fill(dsNBD.LABOUR_REQUIREMENT);
                daProdTeam.Fill(dsNBD.PROD_TEAM);
            }
            catch { }
        }
        static ProductionPlan()
        {
            // Set up data adapters/data set
            dsNBD = new NBDDataSet();
            PROJECTTableAdapter      daProject     = new PROJECTTableAdapter();
            TASKTableAdapter         daTask        = new TASKTableAdapter();
            WORKER_TYPETableAdapter  daWorkerType  = new WORKER_TYPETableAdapter();
            MATERIALTableAdapter     daMaterial    = new MATERIALTableAdapter();
            INVENTORYTableAdapter    daInventory   = new INVENTORYTableAdapter();
            MATERIAL_REQTableAdapter daMaterialReq = new MATERIAL_REQTableAdapter();

            try
            {
                daProject.Fill(dsNBD.PROJECT);
                daTask.Fill(dsNBD.TASK);
                daWorkerType.Fill(dsNBD.WORKER_TYPE);
                daMaterial.Fill(dsNBD.MATERIAL);
                daInventory.Fill(dsNBD.INVENTORY);
                daMaterialReq.Fill(dsNBD.MATERIAL_REQ);
            }
            catch { }
        }