public string[] SearchHearingInspectionDataBaseCount(SearchHearingAssessment SearchData) { Audiometry aDB = new Audiometry(); if (int.Parse(aDB._StaffhaveRoles[3]) == 1) { return aDB.SearchHearingInspectionDataCount(SearchData); } else { return new string[2] { _noRole, _errorMsg }; } }