Exemplo n.º 1
0
        private void FillGrids()
        {
            List<vwvwProjectFile> listOfFiles = new List<vwvwProjectFile>();
            vwvwProjectFileDap newDap = new vwvwProjectFileDap();
            listOfFiles = newDap.GetProjectFiles(_tblProject.fldProjectID);
            bsFiles.DataSource = listOfFiles;

            List<tblTask> listOfTasks = new List<tblTask>();
            tblTaskDap newTaskDap = new tblTaskDap();
            listOfTasks = newTaskDap.GetByfldProjectID(_tblProject.fldProjectID);
            bsTasks.DataSource = listOfTasks;

            List<tblEmployee> listOfEmployees = new List<tblEmployee>();
            tblEmployeeDap newEmployeeDap = new tblEmployeeDap();
            listOfEmployees = newEmployeeDap.GetAll();
            bsEmployee.DataSource = listOfEmployees;
        }
Exemplo n.º 2
0
 private void FillCombos()
 {
     List<tblEmployee> listOfEmployees = new List<tblEmployee>();
     tblEmployeeDap newDap = new tblEmployeeDap();
     listOfEmployees = newDap.GetAll();
     bindingSource1.DataSource = listOfEmployees;
 }