how to do string enumeration?
I have the code below, it gives me an error when I try to assign the line levelEnum, where levelEnum is an enum.
foreach (CustomProperty prop in requirementTemplate.AttributesCustomList) { if (prop.Name == property) { return (CRF_DB.CRF_Requirement.LevelEnum) (prop.Value.ToString()); } }
Is there a way to put an Enum select element by assigning a value to it?
hope this is clear enough
source share