public StudentData2 getStudentDataBase2(string ID)
    {
        CaseDataBase SDB = new CaseDataBase();
        StudentData2 returnValue = new StudentData2();
        if (int.Parse(SDB._StaffhaveRoles[3]) == 1)
        {

            returnValue = SDB.getStudentData2(ID);
        }
        else
        {
            returnValue.checkNo = _noRole;
            returnValue.errorMsg = _errorMsg;
        }
        return returnValue;
    }