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