摘要: #region JavaScriptSerializer //这是一种C#自带的序列化的方式 //JavaScriptSerializer Serializer = new JavaScriptSerializer(); //List<Product> objs = Serializer.Deser 阅读全文
posted @ 2016-05-30 23:42 Jesh_95 阅读(967) 评论(0) 推荐(0) 编辑
摘要: List<string> list = new List<string>(); DataTable dt = OrdersBll.GetDescrlineChart(" 1=1 and Company_Id='"+Company_Id+"' and Flag=0").Tables[0]; for ( 阅读全文
posted @ 2016-05-30 18:26 Jesh_95 阅读(551) 评论(0) 推荐(0) 编辑
摘要: public class Custom_sort: IComparer<string> { List<string> _strs; public Custom_sort(string[] strs) { _strs = strs.Distinct().ToList(); } public int C 阅读全文
posted @ 2016-05-30 13:36 Jesh_95 阅读(173) 评论(0) 推荐(0) 编辑