C
CK
Hi All,
I have a class and one property is an Enum. I am trying to persist the
DropDownList.SelectedValue to the class property.
I am using
job.ExpRelated =
Enum.ToObject(typeof(ExperienceRelated),ddlExpRelated.SelectedValue);
but it doesn't build. Any ideas anyone?
Thanks All,
~CK
I have a class and one property is an Enum. I am trying to persist the
DropDownList.SelectedValue to the class property.
I am using
job.ExpRelated =
Enum.ToObject(typeof(ExperienceRelated),ddlExpRelated.SelectedValue);
but it doesn't build. Any ideas anyone?
Thanks All,
~CK