<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_Kevin_分类_01-DotNet</title><id>http://feed.cnblogs.com/blog/u/35666/category/136126/rss</id><updated>2012-06-03T14:38:57Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kevin-wang/category/136126.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/35666/category/136126/rss"/><entry><id>http://www.cnblogs.com/kevin-wang/archive/2011/08/08/2130521.html</id><title type="text">不继承 IEnumerable 或 IQueryable 的类型怎么使用 LINQ 查询</title><summary type="text">最近想研究如何自定义 LINQ Provider ，但是一直无法入手，先写点收获吧~ MSDN 上的这篇文章（《启用数据源以进行 LINQ 查询》）中写到： 如果想对自己的数据源进行 LINQ 查询，那必须使用一下四种方法的其中一种。 实现 IEnumerable&lt;T&gt; 接口 实现标准的查询方法 实现 IQueryable&lt;T&gt; 接口 扩展已经实现的 LINQ 查询 看到其中第二条，让人心生疑惑，...</summary><published>2011-08-08T00:46:00Z</published><updated>2011-08-08T00:46:00Z</updated><author><name>Kevin-wang</name><uri>http://www.cnblogs.com/kevin-wang/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kevin-wang/archive/2011/08/08/2130521.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kevin-wang/archive/2011/08/08/2130521.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/kevin-wang/archive/2011/01/08/1930680.html</id><title type="text">Visual Studio Explosion! - VS2010 SP1 *BETA* Released and Context</title><summary type="text">Form:http://www.hanselman.com/blog/VisualStudioExplosionVS2010SP1BETAReleasedAndContext.aspx It's a holiday miracle! OK, maybe not a miracle, but folks have been working hard on Visual Studio 2010 Se...</summary><published>2011-01-08T07:37:00Z</published><updated>2011-01-08T07:37:00Z</updated><author><name>Kevin-wang</name><uri>http://www.cnblogs.com/kevin-wang/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kevin-wang/archive/2011/01/08/1930680.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kevin-wang/archive/2011/01/08/1930680.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/kevin-wang/archive/2011/01/07/1929392.html</id><title type="text">获取到某一方法的调用者的类名、方法名、命名空间</title><summary type="text">1、返回当前方法所在的类名： 2、返回调用当前方法的方法名：    运行结果：   </summary><published>2011-01-07T01:39:00Z</published><updated>2011-01-07T01:39:00Z</updated><author><name>Kevin-wang</name><uri>http://www.cnblogs.com/kevin-wang/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kevin-wang/archive/2011/01/07/1929392.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kevin-wang/archive/2011/01/07/1929392.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/kevin-wang/archive/2010/09/29/1838398.html</id><title type="text">SQL Server 2005中创建CLR存储过程</title><summary type="text">在2005之前的版本创建存储过程都是在数据库里面写Transact-SQL语言实现的，不过现在SQL Server 2005支持用其他面向对象的语言编写CLR存储过程了，关于这样做的好处，官方有很多解释了，这里就直接说明实现方法了。假设服务器里面有个test数据库，数据库有个架构user，还有一个表test1，然后有个sql登陆用户叫test_user，将这个用户设置成VS2005里面数据库连接的...</summary><published>2010-09-29T06:26:00Z</published><updated>2010-09-29T06:26:00Z</updated><author><name>Kevin-wang</name><uri>http://www.cnblogs.com/kevin-wang/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kevin-wang/archive/2010/09/29/1838398.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kevin-wang/archive/2010/09/29/1838398.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/kevin-wang/archive/2010/06/07/1752977.html</id><title type="text">让 C#智能注释时允许换行</title><summary type="text">C# XML注释换行，效果如下： 只需将&lt;para&gt; 标记用于诸如 &lt;summary&gt;、&lt;remarks&gt; 或 &lt;returns&gt; 等标记内即可。</summary><published>2010-06-07T01:57:00Z</published><updated>2010-06-07T01:57:00Z</updated><author><name>Kevin-wang</name><uri>http://www.cnblogs.com/kevin-wang/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kevin-wang/archive/2010/06/07/1752977.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kevin-wang/archive/2010/06/07/1752977.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/kevin-wang/archive/2010/06/01/1748935.html</id><title type="text">Visual Studio 2010中文暂时无法进行Silverlight 4的开发</title><summary type="text">由于目前Silverlight 4 Tools for Visual Studio 2010 和 WCF RIA Services 1.0未发布中文版本，所以还不能在VS2010中文版中进行开发； 有图为证： VS2010英文截图： VS2010中文截图：</summary><published>2010-06-01T03:15:00Z</published><updated>2010-06-01T03:15:00Z</updated><author><name>Kevin-wang</name><uri>http://www.cnblogs.com/kevin-wang/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kevin-wang/archive/2010/06/01/1748935.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kevin-wang/archive/2010/06/01/1748935.html"/><content type="text">由于目前Silverlight 4 Tools for Visual Studio 2010 和 WCF RIA Services 1.0未发布中文版本，所以还不能在VS2010中文版中进行开发； 有图为证： VS2010英文截图： VS2010中文截图：</content></entry><entry><id>http://www.cnblogs.com/kevin-wang/archive/2010/05/31/jQuery-localization.html</id><title type="text">jQuery1.4.1中文化</title><summary type="text">昨天安装后Visual Studio2010后，发现集成的jQuery1.4.1竟然已经中文化了，这个消息对于英语不怎么好的朋友好算是个好的消息，再加个jQuery1.4.1中文帮助可算是完美了，在此发布出来供需要的朋友下载；下载地址：jQuery-1.4.1 jQuery-1.4-API.rar附图： 此文为分享收藏；</summary><published>2010-05-31T03:05:00Z</published><updated>2010-05-31T03:05:00Z</updated><author><name>Kevin-wang</name><uri>http://www.cnblogs.com/kevin-wang/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kevin-wang/archive/2010/05/31/jQuery-localization.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kevin-wang/archive/2010/05/31/jQuery-localization.html"/><content type="text">昨天安装后Visual Studio2010后，发现集成的jQuery1.4.1竟然已经中文化了，这个消息对于英语不怎么好的朋友好算是个好的消息，再加个jQuery1.4.1中文帮助可算是完美了，在此发布出来供需要的朋友下载；下载地址：jQuery-1.4.1 jQuery-1.4-API.rar附图： 此文为分享收藏；</content></entry><entry><id>http://www.cnblogs.com/kevin-wang/archive/2010/05/24/1742720.html</id><title type="text">自动完成服务端控件开发(1)</title><summary type="text">前一段时间由于项目需要搜索时要根据输入的内容自动从后台查询与之相关的数据，先上图看一看最终的效果： 这篇主要先介绍一下如何使用这个控件。 1.添加对DSKJ.Controls.DLL程序集的引用 引用后控件自动加入到工具箱中. 2.属性和事件 属性 TargetControl 设置与此控件关联的TextBox控件ID Opacity 设置或获取自动提示显示时的透明度，取值1至100 OnClie...</summary><published>2010-05-24T05:54:00Z</published><updated>2010-05-24T05:54:00Z</updated><author><name>Kevin-wang</name><uri>http://www.cnblogs.com/kevin-wang/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kevin-wang/archive/2010/05/24/1742720.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kevin-wang/archive/2010/05/24/1742720.html"/><content type="text">前一段时间由于项目需要搜索时要根据输入的内容自动从后台查询与之相关的数据，先上图看一看最终的效果： 这篇主要先介绍一下如何使用这个控件。 1.添加对DSKJ.Controls.DLL程序集的引用 引用后控件自动加入到工具箱中. 2.属性和事件 属性 TargetControl 设置与此控件关联的TextBox控件ID Opacity 设置或获取自动提示显示时的透明度，取值1至100 OnClie...</content></entry><entry><id>http://www.cnblogs.com/kevin-wang/archive/2010/05/23/1742343.html</id><title type="text">你的代码进行!=null了吗？</title><summary type="text">最近在一些项目中，发现系统运行日志中出现很多引发NullReferenceException异常的问题，或者就是明明是保存了但数据库中却找不到数据，经过对代码的分析总结一下发生这些问题的原因： 1.访问Cookie时未进行非null验证，往往都是直接从Cookie中取值； this.Request.Cookie[“userinfo”][“username&amp;#82...</summary><published>2010-05-23T15:14:00Z</published><updated>2010-05-23T15:14:00Z</updated><author><name>Kevin-wang</name><uri>http://www.cnblogs.com/kevin-wang/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kevin-wang/archive/2010/05/23/1742343.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kevin-wang/archive/2010/05/23/1742343.html"/><content type="text">最近在一些项目中，发现系统运行日志中出现很多引发NullReferenceException异常的问题，或者就是明明是保存了但数据库中却找不到数据，经过对代码的分析总结一下发生这些问题的原因： 1.访问Cookie时未进行非null验证，往往都是直接从Cookie中取值； this.Request.Cookie[“userinfo”][“username&amp;#82...</content></entry><entry><id>http://www.cnblogs.com/kevin-wang/archive/2010/05/16/1736988.html</id><title type="text">NUnit2.0详细使用方法</title><summary type="text">摘自：http://www.cnblogs.com/confach/archive/2005/06/20/177817.html 注：NUnit中文文档可以参看我的另一个站点:http://www.36sign.com/nunit 前一段时间,有人问我在.NET里如何进行TDD开发.这个问题促使我想对NUnit做一个详细的介绍.因为我们大家都知道NUnit是在.NET进行 TDD的利器. 如果你已...</summary><published>2010-05-16T15:02:00Z</published><updated>2010-05-16T15:02:00Z</updated><author><name>Kevin-wang</name><uri>http://www.cnblogs.com/kevin-wang/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kevin-wang/archive/2010/05/16/1736988.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kevin-wang/archive/2010/05/16/1736988.html"/><content type="text">摘自：http://www.cnblogs.com/confach/archive/2005/06/20/177817.html 注：NUnit中文文档可以参看我的另一个站点:http://www.36sign.com/nunit 前一段时间,有人问我在.NET里如何进行TDD开发.这个问题促使我想对NUnit做一个详细的介绍.因为我们大家都知道NUnit是在.NET进行 TDD的利器. 如果你已...</content></entry><entry><id>http://www.cnblogs.com/kevin-wang/archive/2010/03/14/1685330.html</id><title type="text">防止页面被多次提交</title><summary type="text">此处提供的代码用来实现当asp.net页面中的某个Button被点击后disable掉该页面中所有的Button，从而防止提交延时导致的多次提交。基于之前的onceclickbutton脚本.&lt;scriptlanguage="javascript"&gt;&lt;!--functiondisableOtherSubmit(){varobj=event.srcElement;varobjs=d...</summary><published>2010-03-13T16:01:00Z</published><updated>2010-03-13T16:01:00Z</updated><author><name>Kevin-wang</name><uri>http://www.cnblogs.com/kevin-wang/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kevin-wang/archive/2010/03/14/1685330.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kevin-wang/archive/2010/03/14/1685330.html"/><content type="text">此处提供的代码用来实现当asp.net页面中的某个Button被点击后disable掉该页面中所有的Button，从而防止提交延时导致的多次提交。基于之前的onceclickbutton脚本.&lt;scriptlanguage="javascript"&gt;&lt;!--functiondisableOtherSubmit(){varobj=event.srcElement;varobjs=d...</content></entry><entry><id>http://www.cnblogs.com/kevin-wang/archive/2009/07/13/1522297.html</id><title type="text">Emit基础学习-选择分支</title><summary type="text">Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 C#代码[代码]IL代码 [代码]Emit代码[代码]C#代码—条件表达式使用Emit生成IL后反射的C#代码[代码]手工编写的代码[代码]IL代码使用Emit生成的IL代码[代码]手工编写的代生成的IL代码[代码]Emit代码 [代码]Switch分支C...</summary><published>2009-07-13T01:51:00Z</published><updated>2009-07-13T01:51:00Z</updated><author><name>Kevin-wang</name><uri>http://www.cnblogs.com/kevin-wang/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kevin-wang/archive/2009/07/13/1522297.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kevin-wang/archive/2009/07/13/1522297.html"/><content type="text">Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 C#代码[代码]IL代码 [代码]Emit代码[代码]C#代码—条件表达式使用Emit生成IL后反射的C#代码[代码]手工编写的代码[代码]IL代码使用Emit生成的IL代码[代码]手工编写的代生成的IL代码[代码]Emit代码 [代码]Switch分支C...</content></entry><entry><id>http://www.cnblogs.com/kevin-wang/archive/2009/02/09/1386909.html</id><title type="text">复杂属性设计时支持实现</title><summary type="text"/><published>2009-02-09T08:38:00Z</published><updated>2009-02-09T08:38:00Z</updated><author><name>Kevin-wang</name><uri>http://www.cnblogs.com/kevin-wang/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kevin-wang/archive/2009/02/09/1386909.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kevin-wang/archive/2009/02/09/1386909.html"/><content type="text"/></entry><entry><id>http://www.cnblogs.com/kevin-wang/archive/2009/02/09/1386906.html</id><title type="text">复杂属性的设计时支持</title><summary type="text"/><published>2009-02-09T08:34:00Z</published><updated>2009-02-09T08:34:00Z</updated><author><name>Kevin-wang</name><uri>http://www.cnblogs.com/kevin-wang/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kevin-wang/archive/2009/02/09/1386906.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kevin-wang/archive/2009/02/09/1386906.html"/><content type="text"/></entry><entry><id>http://www.cnblogs.com/kevin-wang/archive/2008/08/25/1275888.html</id><title type="text">个利用正则表达式解析单句SQL的类SqlParser</title><summary type="text">一个利用正则表达式解析单句SQL的类SqlParser 先看要解析的样例SQL语句： select * from dual SELECT * frOm dual Select C1,c2 From tb select c1,c2 from tb select count(*) from t1 select c1,c2,c3 from t1 where condi1=1 Select c1,c2,c...</summary><published>2008-08-25T08:31:00Z</published><updated>2008-08-25T08:31:00Z</updated><author><name>Kevin-wang</name><uri>http://www.cnblogs.com/kevin-wang/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kevin-wang/archive/2008/08/25/1275888.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kevin-wang/archive/2008/08/25/1275888.html"/><content type="text">一个利用正则表达式解析单句SQL的类SqlParser 先看要解析的样例SQL语句： select * from dual SELECT * frOm dual Select C1,c2 From tb select c1,c2 from tb select count(*) from t1 select c1,c2,c3 from t1 where condi1=1 Select c1,c2,c...</content></entry><entry><id>http://www.cnblogs.com/kevin-wang/archive/2008/08/25/1275880.html</id><title type="text">ASP.NET 中的正则表达式</title><summary type="text">ASP.NET 中的正则表达式发布日期： 8/17/2004 | 更新日期： 8/17/2004速成课程Steven A. Smith适用范围：Microsoft® .NET FrameworkMicrosoft® ASP.NET正则表达式 API摘要：正则表达式是一种处理文本的有用工具。无论是验证用户输入、搜索字符串内的模式、还是以各种有效方式重新设置文本格式，正则表达式都非...</summary><published>2008-08-25T08:24:00Z</published><updated>2008-08-25T08:24:00Z</updated><author><name>Kevin-wang</name><uri>http://www.cnblogs.com/kevin-wang/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kevin-wang/archive/2008/08/25/1275880.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kevin-wang/archive/2008/08/25/1275880.html"/><content type="text">ASP.NET 中的正则表达式发布日期： 8/17/2004 | 更新日期： 8/17/2004速成课程Steven A. Smith适用范围：Microsoft® .NET FrameworkMicrosoft® ASP.NET正则表达式 API摘要：正则表达式是一种处理文本的有用工具。无论是验证用户输入、搜索字符串内的模式、还是以各种有效方式重新设置文本格式，正则表达式都非...</content></entry><entry><id>http://www.cnblogs.com/kevin-wang/archive/2008/08/25/1275870.html</id><title type="text">C# 中的常用正则表达式总结(转)</title><summary type="text">这是我发了不少时间整理的C#的正则表达式，新手朋友注意一定要手册一下哦，这样可以节省很多写代码的时间，中国自学编程网为新手朋友整理发布。只能输入数字："^[0-9]*$"。只能输入n位的数字："^\d{n}$"。只能输入至少n位的数字："^\d{n,}$"。只能输入m~n位的数字：。"^\d{m,n}$"只能输入零和非零开头的数字："^(0|[1-9][0-9]*)$"。只...</summary><published>2008-08-25T08:13:00Z</published><updated>2008-08-25T08:13:00Z</updated><author><name>Kevin-wang</name><uri>http://www.cnblogs.com/kevin-wang/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kevin-wang/archive/2008/08/25/1275870.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kevin-wang/archive/2008/08/25/1275870.html"/><content type="text">这是我发了不少时间整理的C#的正则表达式，新手朋友注意一定要手册一下哦，这样可以节省很多写代码的时间，中国自学编程网为新手朋友整理发布。只能输入数字："^[0-9]*$"。只能输入n位的数字："^\d{n}$"。只能输入至少n位的数字："^\d{n,}$"。只能输入m~n位的数字：。"^\d{m,n}$"只能输入零和非零开头的数字："^(0|[1-9][0-9]*)$"。只...</content></entry><entry><id>http://www.cnblogs.com/kevin-wang/archive/2008/08/22/1273804.html</id><title type="text">服务端控件的呈现</title><summary type="text"/><published>2008-08-22T02:08:00Z</published><updated>2008-08-22T02:08:00Z</updated><author><name>Kevin-wang</name><uri>http://www.cnblogs.com/kevin-wang/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kevin-wang/archive/2008/08/22/1273804.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kevin-wang/archive/2008/08/22/1273804.html"/><content type="text"/></entry><entry><id>http://www.cnblogs.com/kevin-wang/archive/2008/08/15/1268935.html</id><title type="text">Code Project精彩系列（转）</title><summary type="text">ApplicationsCrafting a C# forms Editor From scratchhttp://www.codeproject.com/csharp/SharpFormEditorDemo.asp建立一个类似C#的环境, 实现控件拖拉，属性Packet Capture and Analayzer网络封包截获http://www.codeproject.com/csharp/pa...</summary><published>2008-08-15T11:15:00Z</published><updated>2008-08-15T11:15:00Z</updated><author><name>Kevin-wang</name><uri>http://www.cnblogs.com/kevin-wang/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kevin-wang/archive/2008/08/15/1268935.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kevin-wang/archive/2008/08/15/1268935.html"/><content type="text">ApplicationsCrafting a C# forms Editor From scratchhttp://www.codeproject.com/csharp/SharpFormEditorDemo.asp建立一个类似C#的环境, 实现控件拖拉，属性Packet Capture and Analayzer网络封包截获http://www.codeproject.com/csharp/pa...</content></entry><entry><id>http://www.cnblogs.com/kevin-wang/archive/2008/08/15/1268284.html</id><title type="text">控件开发中常用的元数据 </title><summary type="text"/><published>2008-08-14T16:19:00Z</published><updated>2008-08-14T16:19:00Z</updated><author><name>Kevin-wang</name><uri>http://www.cnblogs.com/kevin-wang/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kevin-wang/archive/2008/08/15/1268284.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kevin-wang/archive/2008/08/15/1268284.html"/><content type="text"/></entry></feed>
