/// <summary> /// Gets the name of a NaceActivity (incl. code) based on the LOV_Id /// </summary> public static string NaceActivityName(int lov_id) { LOV_NACEACTIVITY a = ListOfValues.GetNaceActicvity(lov_id); string code = a != null ? a.Code : String.Empty; return(NaceActivityName(code)); }
private ListItem createListItem(LOV_NACEACTIVITY s) { return(new ListItem(LOVResources.NaceActivityName(s.Code), s.LOV_NACEActivityID.ToString())); }