Link to home
Start Free TrialLog in
Avatar of Tom Knowlton
Tom KnowltonFlag for United States of America

asked on

Fill DropDownList from an enum

//Available via App_Code folder to all web pages...
    public enum PeriodTypes
    {
        Monthly = 1,
        Weekly,
        Daily,
        Yearly,
        BiYearly
    }

Can I fill a DropDownList using this enum, either by looping or straight assignment?

If I delete, modify, or add to the enum ... would the drop down list pick up the change?

And is it a "good idea" to do it that way? Or am I asking for trouble down the road?
ASKER CERTIFIED SOLUTION
Avatar of anoyes
anoyes
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Tom Knowlton

ASKER