public static string GetUFUnitSubjectSetU8Code(string UFUnitCode, string SubjectSetCode) { string text2; try { string text = ""; if (UFUnitCode == "") { return(text); } EntityData unitSubjectSetByUnit = OBSDAO.GetUnitSubjectSetByUnit(UFUnitCode, SubjectSetCode); if (unitSubjectSetByUnit.HasRecord()) { text = unitSubjectSetByUnit.GetString("U8Code"); } unitSubjectSetByUnit.Dispose(); text2 = text; } catch (Exception exception) { throw exception; } return(text2); }