Esempio n. 1
0
    public StudentData4 getStudentDataBase4(string ID)
    {
        CaseDataBase SDB = new CaseDataBase();
        StudentData4 returnValue = new StudentData4();
        if (int.Parse(SDB._StaffhaveRoles[3]) == 1)
        {

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