5
Answers

Bind enum to combobox

Hi,

I have this enum type:

        public enum SchedActiveEnum
        {
            [Description("All")]
            All,
            [Description("Y")]
            Y,
            [Description("N")]
            N
        }
What is the better way for bind it in a combobox?


I would like to display the description but get the value.

Thanks.
Answers (5)