private void UpdateDepartmentInfo_Load(object sender, EventArgs e)
        {
            List <object> deptidlist = deptdata.GetDepartmentIDList();

            updatedepartmentidcomboBox.DataSource = deptidlist;
            updatedepartmentidcomboBox_SelectedValueChanged(sender, e);
        }
        private void DeleteAnDepartmentInfo_Load(object sender, EventArgs e)
        {
            List <object> deptidlist = deptdata.GetDepartmentIDList();

            deletedepartmentidcomboBox.DataSource = deptidlist;
        }