枚举转数组

       DropDownList1.Items.Clear();
        foreach (string s in Enum.GetNames(typeof(Chart2DTypeEnum)))
        {
            DropDownList1.Items.Add(s);
        }
posted @ 2008-07-02 17:46  tiasys  阅读(893)  评论(0编辑  收藏  举报