Пример #1
0
        private void loadData()
        {
            var abc = obj.st_getlevel();

            levelIDGV.DataPropertyName   = "ID";
            levelNameGV.DataPropertyName = "LevelName";
            dataGridView1.DataSource     = abc;
            MainClass.sno(dataGridView1, "snoGV");
        }
Пример #2
0
        private void searchData()
        {
            var abc = obj.st_searchRoles(searchTxt.Text);

            rolesIDGV.DataPropertyName = "ID";
            StatusGV.DataPropertyName  = "Role";
            dataGridView1.DataSource   = abc;
            MainClass.sno(dataGridView1, "snoGV");
        }
Пример #3
0
        private void loadData()
        {
            var abc = obj.st_getSections();

            sectionIDGV.DataPropertyName = "ID";
            sectionGV.DataPropertyName   = "Name";
            StatusGV.DataPropertyName    = "Status";
            dataGridView1.DataSource     = abc;
            MainClass.sno(dataGridView1, "snoGV");
        }
Пример #4
0
        private void loadData()
        {
            var abc = obj.st_gethousse();

            houseIDGV.DataPropertyName = "ID";
            houseGV.DataPropertyName   = "House";
            StatusGV.DataPropertyName  = "Status";
            dataGridView1.DataSource   = abc;
            MainClass.sno(dataGridView1, "snoGV");
        }
Пример #5
0
        private void loadData()
        {
            var abc = obj.st_getRoles();

            rolesIDGV.DataPropertyName = "ID";
            RoleGV.DataPropertyName    = "Role";
            StatusGV.DataPropertyName  = "Status";
            dataGridView1.DataSource   = abc;
            MainClass.sno(dataGridView1, "snoGV");
        }
Пример #6
0
        private void loadData()
        {
            var abc = obj.st_getSubjects();

            subjectIDGV.DataPropertyName = "ID";
            subjectGV.DataPropertyName   = "Subjects";
            classidGV.DataPropertyName   = "ClassID";
            ClassGV.DataPropertyName     = "Class";
            dataGridView1.DataSource     = abc;
            MainClass.sno(dataGridView1, "snoGV");
        }
Пример #7
0
        private void loadData()
        {
            var abc = obj.st_getShifts();

            shiftIDGV.DataPropertyName     = "ID";
            shiftNameGV.DataPropertyName   = "Name";
            shiftNumberGV.DataPropertyName = "Number";
            startGV.DataPropertyName       = "From";
            endTimeGV.DataPropertyName     = "To";
            dataGridView1.DataSource       = abc;
            MainClass.sno(dataGridView1, "snoGV");
        }
Пример #8
0
        private void loadData()
        {
            var abc = obj.st_getClasses();

            classIDGV.DataPropertyName   = "ID";
            ClassNameGV.DataPropertyName = "Name";
            StatusGV.DataPropertyName    = "Status";
            levelidGV.DataPropertyName   = "LevelID";
            LEvelGV.DataPropertyName     = "Level";
            dataGridView1.DataSource     = abc;
            MainClass.sno(dataGridView1, "snoGV");
        }
Пример #9
0
        private void loadData()
        {
            var data = obj.st_getStaffDetails();

            userIDGV.DataPropertyName   = "ID";
            nameGV.DataPropertyName     = "Name";
            usernameGV.DataPropertyName = "Username";
            passwordGV.DataPropertyName = "Password";
            phone1GV.DataPropertyName   = "Phone1";
            phone2GV.DataPropertyName   = "Phone2";
            RoleGV.DataPropertyName     = "Role";
            StatusGV.DataPropertyName   = "Status";
            roleIDGV.DataPropertyName   = "RoleID";
            dataGridView1.DataSource    = data;
            MainClass.sno(dataGridView1, "snoGV");
        }
        private void loadData()
        {
            var abc = obj.st_getTimings();

            tIdGV.DataPropertyName = "ID";

            timingNameGV.DataPropertyName = "TimingName";
            fromGV.DataPropertyName       = "From";
            toGV.DataPropertyName         = "To";
            shiftIdGV.DataPropertyName    = "ShiftID";
            shiftGV.DataPropertyName      = "ShiftName";
            DayGV.DataPropertyName        = "Day";
            levelIDGV.DataPropertyName    = "LevelID";
            levelNameGV.DataPropertyName  = "Level";

            dataGridView1.DataSource = abc;
            MainClass.sno(dataGridView1, "snoGV");
        }