protected Dictionary<string, string> GetRemarkTypeList() { Dictionary<string, string> dcRemarkType = new Dictionary<string, string>(); dcRemarkType.Add("", "所有评论"); Dictionary<int, string> dcEnumRemarkType = EnumUtility.GetEnumList(typeof(RemarkType)); foreach (KeyValuePair<int, string> kp in dcEnumRemarkType) { dcRemarkType.Add(kp.Key.ToString(), kp.Value); } return dcRemarkType; //Dictionary<string, string> remarkTypeList = new Dictionary<string, string>(); //remarkTypeList.Add("", "所有评论"); //remarkTypeList.Add(((int)RemarkType.Ask).ToString(), "询问"); //remarkTypeList.Add(((int)RemarkType.Discuss).ToString(), "讨论"); //remarkTypeList.Add(((int)RemarkType.Commend).ToString(), "推荐"); //remarkTypeList.Add(((int)RemarkType.Experience).ToString(), "经验"); //remarkTypeList.Add(((int)RemarkType.Mapping).ToString(), "帖图"); //return remarkTypeList; }