Array tt=Enum.GetValues(typeof(OrderStatus));
var s = "";
foreach (OrderStatus item in tt)
{
s = s + "_" + (int)item+"_"+Enum.GetName(typeof(OrderStatus), (int)item) + "_" + item.ToCultureString() + "<br/>";
}
return this.MessageView(s);
时间: 2024-10-17 15:23:24