摘要: var memInfo = enumType.GetType().GetMember(enumType.ToString()); var attributes = memInfo[0].GetCustomAttributes(typeof(DescriptionAttribute), false). 阅读全文
posted @ 2014-12-19 10:48 Coding_Yong 阅读(481) 评论(0) 推荐(0) 编辑
摘要: using LitJson;//自定义Json类JsonDataResult jsondata = new JsonDataResult() { Success = false }; HttpContext.Current.Response.Write(JsonMapper.ToJson(jsond... 阅读全文
posted @ 2014-12-19 09:53 Coding_Yong 阅读(1495) 评论(0) 推荐(0) 编辑