Esempio n. 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 { }
        }
        static ProjectAdminReportApproval()
        {
            dsNBD = new NBDDataSet();
            PROJECTTableAdapter        daProjects      = new PROJECTTableAdapter();
            LABOUR_SUMMARYTableAdapter daLabourSummary = new LABOUR_SUMMARYTableAdapter();

            try
            {
                daProjects.Fill(dsNBD.PROJECT);
                daLabourSummary.Fill(dsNBD.LABOUR_SUMMARY);
            }
            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 { }
        }