by using the code below you can bind your enums to your dropdown lists


Serkan Şendur

public static DataTable ConvertEnumToDataTable(Enum parEnumToConvert)
        {
            DataTable dt = new DataTable();
            dt.Columns.Add("ID");
            dt.Columns.Add("Name");
            int i = 0;
            foreach (string s in Enum.GetNames(typeof(yourCustomEnum)))
            {
                DataRow dr = dt.NewRow();
                dr["ID"] = i;
                dr["Name"] = s;
                dt.Rows.Add(dr);
                i++;
            }
            return dt;
            
        }
The article starter has earned a lot of community kudos, and such articles offer a bounty for quality replies.