ddlIsTogetherBuy.Items.Clear();
item = new ListItem("请选择", "");
ddlIsTogetherBuy.Items.Add(item);
Dictionary<int, string> buyDic = EnumOrderStatus.BuyStatusDic;
foreach (var dic in buyDic)
{
item = new ListItem(dic.Value, dic.Key.ToString());
ddlIsTogetherBuy.Items.Add(item);
}
转载于:https://www.cnblogs.com/Dreaming420/archive/2013/06/13/3134024.html