01 2017 档案

摘要:1.重置表单回初始状态 $('#fromid')[0].reset(); 此方法一步到位,不需要一个个的去赋值为空 阅读全文
posted @ 2017-01-09 11:06 微笑代表淡定.Net 阅读(984) 评论(0) 推荐(0)
摘要://将List<T>转成DataTable public static DataTable ToDataTable(List<T> collection) { var props = typeof(T).GetProperties(); var dt = new DataTable(); dt.Co 阅读全文
posted @ 2017-01-08 23:04 微笑代表淡定.Net 阅读(537) 评论(0) 推荐(0)
摘要:js的3中加密方式: 下载地址: sha1.js md5.js base64.js 阅读全文
posted @ 2017-01-06 00:58 微笑代表淡定.Net 阅读(362) 评论(0) 推荐(0)
摘要:List listA = new List {1,2,3,5,7,9}; List listB = new List {13,4,17,29,2}; listA.AddRange(listB );//把集合A.B合并 List Result = listA.Union(listB).ToList(); //剔除重复项 List Result = listA.C... 阅读全文
posted @ 2017-01-03 15:40 微笑代表淡定.Net 阅读(12838) 评论(0) 推荐(2)