程晓晖

博客园 首页 新随笔 联系 订阅 管理

03 2014 档案

摘要:由于最近需要把以前的一个项目写一个文档,但一时又不知道写成怎样的,又恰好发现了可以生成chm的工具,于是乎我就研究了下,感觉还不错,所以也给大家分享下。好了,不多废话,下面就来实现一下吧。生成前的准备在开始做之前,还是要补充说明一点:我们是通过C#文档注释生成的XML文件来生成帮助文档的。因此,第一步就是生成XML文档:具体步骤:打开VS->随意创建一个项目(这里我用的是控制台项目),然后添加如下内容:/// /// 人类 /// public class Person { /// /// 姓名 /// public... 阅读全文
posted @ 2014-03-18 19:19 fumen 阅读(20463) 评论(3) 推荐(6)

摘要:SELECT * FROM test1 as t1 left join test2 as t2 on t1.ida=t2.aid --and t2.bid>2执行结果1 1 1 51 1 1 62 2 2 22 2 2 33 3 NULL NULL4 4 NULL NULL5 5 NULL NULLSELECT * FROM test1 as t1 left join test2 as t2 on t1.ida=t2.aid and t2.bid>21 1 1 51 1 1 62 2 2 33 3 NULL NULL4 4 NULL NULL5 5 NULL NULL即left j 阅读全文
posted @ 2014-03-17 10:23 fumen 阅读(2257) 评论(0) 推荐(0)

摘要:namespaceUnicode与汉字互转{classProgram{staticvoidMain(string[]args){//Unicode转换成汉字Console.WriteLine(Regex.Unescape("\u5b57"));Console.WriteLine();//汉字转换成UnicodeCharmyChar=Convert.ToChar("字");Console.WriteLine(@"\u{0:x4}",(int)myChar);Console.ReadKey();}}} 阅读全文
posted @ 2014-03-13 13:52 fumen 阅读(170) 评论(0) 推荐(0)