摘要: sql 统计 阅读全文
posted @ 2017-07-09 11:44 eric john 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 1.平时常用,随机生成文件名时用到DateTime dt = DateTime.Now;string result = dt.ToString("yyyy-MM-dd HH:mm:ss ffffff");其中f表示毫秒的格式化。f 表示精确到毫秒一位数字ff 表示精确到毫秒两位数字...fffffff表示精确到毫秒七位数字最多精确到毫秒气味数字。 阅读全文
posted @ 2011-03-24 22:01 eric john 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 文件的操作 阅读全文
posted @ 2011-03-24 21:46 eric john 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 1. 对字典的排序Dictionary<string,double> dic = new Dictionary<string,double>();dic.Add(key,double)...var sortdic =from d in dic order by d.value descending select d ;2.Linq ToDictionary()方法的使用接上... 阅读全文
posted @ 2010-11-26 16:33 eric john 阅读(394) 评论(0) 推荐(0) 编辑