摘要: foreach (KeyValuePair kvp in myDictionary) {...} Dictionary openWith = new Dictionary(); openWith.Add("txt", "notepad.exe"); openWith.Add("bmp", "paint.exe"); openWith.Add("dib", "paint.exe"); openWith.Add("rtf", "wordpad.exe 阅读全文
posted @ 2013-12-03 20:22 梁娜 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 原文地址http://www.cnblogs.com/fightLonely/archive/2011/02/24/1963907.htmlsql with as 用法以下内容转自:http://wudataoge.blog.163.com/blog/static/80073886200961652022389/一.WITH AS的含义 WITH AS短语,也叫做子查询部分(subquery factoring),可以让你做很多事情,定义一个SQL片断,该SQL片断会被整个SQL语句所用到。有的时候,是为了让SQL语句的可读性更高些,也有可能是在UNION ALL的不同部分,作为提供数据的部. 阅读全文
posted @ 2013-12-03 10:33 梁娜 阅读(190) 评论(0) 推荐(0) 编辑