I am trying to bound a list with a enum . Enum have following value
public enum Degree
{
Doctorate = 1,
Masters = 2,
Bachelors = 3,
Diploma = 4,
HighSchool = 5,
Others = 6
}
and the list is a type of following class
class List1
{
public string Text{get; set;}
public string Value{get; set;}
}
how to map it?
Try this :