public static string GetSystemGroupCodeBySortID(string SortID, string ClassCode) { string text2; try { string text = ""; EntityData systemGroupBySortID = SystemManageDAO.GetSystemGroupBySortID(SortID, ClassCode); if (systemGroupBySortID.HasRecord()) { text = systemGroupBySortID.GetString("GroupCode"); } systemGroupBySortID.Dispose(); text2 = text; } catch (Exception exception) { throw exception; } return(text2); }