摘要: 最近在写一个小程序的时候,遇到这样的需求:已知一组网页url地址,想获取每一个网页的html,实际上就是想利用循环语句里面使用WebBrowser来加载每一个网页,然后获取他们的html, 要实现这个功能,想想应该是件很简单的事情,但是在实际操作中却遇到了问题,因为循环语句和WebBrowser的加载不同步的原因,导致前一个前一个网页还没加载完,下一次循环又开始了....最终的结果是WebBrow... 阅读全文
posted @ 2009-09-21 12:00 牟向阳 阅读(511) 评论(1) 推荐(0) 编辑
摘要: # D:\Services\ 指定要递归遍历查找的目录# *.config 找查找的文件名$fileList = Get-ChildItem 'D:\Services\' -recurse *.config | %{$_.FullName}Foreach($file in $fileList){  $tmpContent = Get-Content $file  for ($i=0; $i -le... 阅读全文
posted @ 2009-08-20 18:39 牟向阳 阅读(4824) 评论(0) 推荐(0) 编辑
摘要: 源代码下载(双向选择List,支持手工调整顺序) 阅读全文
posted @ 2009-08-20 14:45 牟向阳 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 参考:  http://msdn.microsoft.com/en-us/library/ms789008.aspx  http://blogs.msdn.com/tomholl/archive/2008/05/17/building-a-pub-sub-message-bus-with-wcf-and-msmq.aspx  http://www.cnblogs.com/zhuweisky/arc... 阅读全文
posted @ 2009-08-15 15:37 牟向阳 阅读(584) 评论(0) 推荐(1) 编辑
摘要: Find Sample:{\[DataMapping\(\":a*\", DbType.(Int32|String|DecimalDateTime)\)\]}Match:[DataMapping("ID", DbType.Int32)][DataMapping("Amount", DbType.Decimal)]参考:http://msdn.microsoft.com/en-us/library/2k3te2cs(VS.80,ide).aspxhttp://forums.microsoft.com/MSDN/ShowPost.aspx 阅读全文
posted @ 2009-08-14 16:02 牟向阳 阅读(371) 评论(0) 推荐(0) 编辑
摘要: VS2008常用快捷键 如果有一天,你的鼠标被猫叼走了的时候,你会发现这些快捷键很有意思,你的鼠标在的时候这些可爱的快捷键会让你更方便。命令行:Devenv 启动VS StudionIsqlw 启动SQL2000查询分析器Sqlwb 启动SQL2005企业管理器Inetmgr 启动IIS管理器大纲Ctrl+M,O折叠所有大纲Ctrl+M,P: 停止大纲显示Ctrl+M,M: 隐藏或展开当前嵌套的折... 阅读全文
posted @ 2009-04-26 09:29 牟向阳 阅读(679) 评论(0) 推荐(0) 编辑
摘要: WCF Hello World:http://www.cnblogs.com/shark2076/archive/2007/11/09/953974.htmlWCF学习笔记:http://www.cnblogs.com/danishan/archive/2008/11/27/1342340.htmlwcf step by step:改进HelloWorld程序:http://www.cnblogs... 阅读全文
posted @ 2009-03-23 10:39 牟向阳 阅读(221) 评论(0) 推荐(0) 编辑
摘要: ms官方系统教程:http://technet.microsoft.com/zh-cn/sysinternals/ms166104.aspxEntLib.com Forum:http://www.cnblogs.com/entlibforum/category/135628.htmlSSB 初探: http://www.cnblogs.com/sherrys/archive/2006/12/28/... 阅读全文
posted @ 2009-03-22 22:44 牟向阳 阅读(310) 评论(0) 推荐(0) 编辑
摘要: Q:Can you sell yourself in two minutes? Go for it. A:With my qualifications and experience, I feel three words can describe me. That is hardworking, responsible and diligent. Q:Give me a summary of y... 阅读全文
posted @ 2009-03-12 11:55 牟向阳 阅读(358) 评论(0) 推荐(0) 编辑
摘要: B树 即二叉搜索树: 1.所有非叶子结点至多拥有两个儿子(Left和Right); 2.所有结点存储一个关键字; 3.非叶子结点的左指针指向小于其关键字的子树,右指针指向大于其关键字的子树; 如: B树的搜索,从根结点开始,如果查询的关键字与结点的关键字相等,那么就命中;否则,如果查询关键字比结点... 阅读全文
posted @ 2009-03-06 22:12 牟向阳 阅读(529) 评论(0) 推荐(1) 编辑