public string[] SearchAchievementAssessmentCount(SearchStudent SearchStructure) { CaseDataBase SDB = new CaseDataBase(); if (int.Parse(SDB._StaffhaveRoles[3]) == 1) { return SDB.SearchAchievementAssessmentCount(SearchStructure, 1); } else { return new string[2] { _noRole, _errorMsg }; } }