private void loadData()
        {
            var Data = obj.St_getperiods();

            PeriodIDGV.DataPropertyName     = "ID";
            PeriodnameGV.DataPropertyName   = "PeriodName";
            Periods_dataGridView.DataSource = Data;
            MainClass.Sno(Periods_dataGridView, "SnoGV");
        }
예제 #2
0
        private void seacrhData()
        {
            var Data = obj.St_seacrhClasses(searchtxt.Text);

            ClassIDGV.DataPropertyName      = "ID";
            ClassnameGV.DataPropertyName    = "Name";
            StatusGV.DataPropertyName       = "Status";
            Classes_dataGridView.DataSource = Data;
            MainClass.Sno(Classes_dataGridView, "SnoGV");
        }
예제 #3
0
        private void loadData()
        {
            var abc = obj.St_getClasses();

            ClassIDGV.DataPropertyName      = "ID";
            ClassnameGV.DataPropertyName    = "Name";
            StatusGV.DataPropertyName       = "Status";
            Classes_dataGridView.DataSource = abc;
            MainClass.Sno(Classes_dataGridView, "SnoGV");
        }
        private void loadData()
        {
            var abc = obj.st_getRoles();

            RolesIDGV.DataPropertyName   = "ID";
            RolenameGV.DataPropertyName  = "Role";
            StatusGV.DataPropertyName    = "Status";
            Role_dataGridView.DataSource = abc;
            MainClass.Sno(Role_dataGridView, "SnoGV");
        }
        private void seacrhData()
        {
            var Data = obj.st_seacrhRole(searchtxt.Text);

            RolesIDGV.DataPropertyName   = "ID";
            RolenameGV.DataPropertyName  = "Role";
            StatusGV.DataPropertyName    = "Status";
            Role_dataGridView.DataSource = Data;
            MainClass.Sno(Role_dataGridView, "SnoGV");
        }
예제 #6
0
        private void seacrhData()
        {
            var Data = obj.St_seacrhSections(searchtxt.Text);

            SectionidGV.DataPropertyName    = "ID";
            SectionnameGV.DataPropertyName  = "Name";
            StatusGV.DataPropertyName       = "Status";
            Section_dataGridView.DataSource = Data;
            MainClass.Sno(Section_dataGridView, "SnoGV");
        }
예제 #7
0
        private void loadData()
        {
            var abc = obj.St_getSections();

            SectionidGV.DataPropertyName    = "ID";
            SectionnameGV.DataPropertyName  = "Name";
            StatusGV.DataPropertyName       = "Status";
            Section_dataGridView.DataSource = abc;
            MainClass.Sno(Section_dataGridView, "SnoGV");
        }
예제 #8
0
        private void loadData()
        {
            var Data = obj.nt_getnotifications();

            NotificationidGV.DataPropertyName   = "ID";
            NotificationTypeGV.DataPropertyName = "Type";
            RecipientGV.DataPropertyName        = "Recipient";
            NotificationGV.DataPropertyName     = "Message";
            Noti_dataGridView.DataSource        = Data;
            MainClass.Sno(Noti_dataGridView, "SnoGV");
        }
        private void loadData()
        {
            var Data = obj.St_getSubject();

            SubjectIDGV.DataPropertyName    = "ID";
            SubjectnameGV.DataPropertyName  = "Subject";
            classIDGV.DataPropertyName      = "ClassID";
            ClassGV.DataPropertyName        = "Class";
            Subject_dataGridView.DataSource = Data;
            MainClass.Sno(Subject_dataGridView, "SnoGV");
        }
예제 #10
0
        private void loadData()
        {
            var Data = obj.sh_getshifts();

            shiftIDGV.DataPropertyName    = "ID";
            shiftnameGV.DataPropertyName  = "ShiftName";
            startTimeGV.DataPropertyName  = "startTime";
            endTimeGV.DataPropertyName    = "endTime";
            shiftnoGV.DataPropertyName    = "shiftNo";
            shift_dataGridView.DataSource = Data;
            MainClass.Sno(shift_dataGridView, "SnoGV");
        }
        private void loadData()
        {
            var Data = obj.St_getTimings();

            t_idGV.DataPropertyName         = "ID";
            timingNameGV.DataPropertyName   = "TimingName";
            startTimeGV.DataPropertyName    = "from";
            endTimeGV.DataPropertyName      = "To";
            shiftGV.DataPropertyName        = "ShiftName";
            Shift_idGV.DataPropertyName     = "ShiftID";
            DaysGV.DataPropertyName         = "Day";
            timings_dataGridView.DataSource = Data;
            MainClass.Sno(timings_dataGridView, "SnoGV");
        }
예제 #12
0
        private void loadData()
        {
            var Data = obj.St_getStaffDetails();

            User_idGV.DataPropertyName    = "ID";
            NameGV.DataPropertyName       = "Name";
            UsernameGV.DataPropertyName   = "Username";
            PasswordGV.DataPropertyName   = "Password";
            CPassGV.DataPropertyName      = "Password";
            Phone1GV.DataPropertyName     = "Phone1";
            Phone2GV.DataPropertyName     = "Phone2";
            RoleGV.DataPropertyName       = "Role";
            StatusGV.DataPropertyName     = "Status";
            Staff_dataGridView.DataSource = Data;
            MainClass.Sno(Staff_dataGridView, "SnoGV");
        }
        private void loadData()
        {
            var Data = obj.ad_getAddmissionDetails();

            Student_idGV.DataPropertyName      = "ID";
            studentNameGV.DataPropertyName     = "StudentName";
            fatherNameGV.DataPropertyName      = "fatherName";
            motherNameGV.DataPropertyName      = "motherName";
            fProfessionGV.DataPropertyName     = "fatherProfession";
            dobGV.DataPropertyName             = "DOB";
            NationaltyGV.DataPropertyName      = "NATIONALTY";
            ReligonGV.DataPropertyName         = "Relgion";
            genderGV.DataPropertyName          = "Gender";
            classGV.DataPropertyName           = "Class";
            sectionGV.DataPropertyName         = "Section";
            Phone1GV.DataPropertyName          = "Phone1";
            Phone2GV.DataPropertyName          = "Phone2";
            addressGV.DataPropertyName         = "Address";
            emailGV.DataPropertyName           = "Email";
            StatusGV.DataPropertyName          = "Status";
            addmission_dataGridView.DataSource = Data;
            MainClass.Sno(addmission_dataGridView, "SnoGV");
        }
예제 #14
0
 private void Notification_Load(object sender, EventArgs e)
 {
     MainClass.disable_reset(panel6);
     MainClass.Sno(Noti_dataGridView, "SnoGV");
 }
예제 #15
0
 private void Classes_Load(object sender, EventArgs e)
 {
     MainClass.disable_reset(panel6);
     MainClass.Sno(Classes_dataGridView, "SnoGV");
 }
예제 #16
0
 private void Staff_Load(object sender, EventArgs e)
 {
     MainClass.disable_reset(panel6);
     roleErrorLable.Visible = false;
     MainClass.Sno(Staff_dataGridView, "SnoGV");
 }