I am binding a Dictionary to a ComboBox which keeps the Enum values.
To retrieve the selected value I used:
comboBox1.SelectedItem which returns a dimensional value of [0,Permanent].
I just want to retrieve Permanent and then convert it back to Enum.
Something like:
Employee.JobType = Enum.Parse(JobType, comboBox1.SelectedItem)
How can I achieve this?
Either:
Or: