<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_名刘天下_分类_Asp.Net</title><id>http://feed.cnblogs.com/blog/u/12288/category/140996/rss</id><updated>2012-06-04T12:59:15Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/lzm525/category/140996.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/12288/category/140996/rss"/><entry><id>http://www.cnblogs.com/lzm525/archive/2011/04/27/2030756.html</id><title type="text">JSON.Net 的使用</title><summary type="text">1、使用json.net 组件 生成JSON字符串，自定义日期格式摘自：http://www.cnblogs.com/hxling/archive/2010/11/08/1871633.html public static string ToJson(object obj,bool formatjson) { StringBuilder sb = new StringBuilder(); StringWriter sw = new StringWriter(sb); IsoDateTimeConverter idtc = new IsoDateTimeConverter(); idtc.Dat</summary><published>2011-04-27T08:33:00Z</published><updated>2011-04-27T08:33:00Z</updated><author><name>名刘天下</name><uri>http://www.cnblogs.com/lzm525/</uri></author><link rel="alternate" href="http://www.cnblogs.com/lzm525/archive/2011/04/27/2030756.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/lzm525/archive/2011/04/27/2030756.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/lzm525/archive/2011/04/02/2003716.html</id><title type="text">一次将MS SQLServer2005数据库实现源代码管理的经历</title><summary type="text">在做一个项目时，想将SQLServer2005数据库也进行svn源代码管理，不对数据库进行源代码管理，感觉很不方便。哎，这个过程可算是曲折的了….！特将过程记录和总结下来，以便后用。好记性不如烂笔头，况且现在脑子不好使了….1、在VS2008右键解决方案，新建项目，数据库项目，可是在数据库项目下面没有任何东西。同时，发现在打开项目组之前的项目时，其中的数据库项目也总是报个错误，提示无法打开。提示："....不支持.dbproj..."等。解决方案：可能是数据库模板出问题。参考了http://hi.baidu.com/jiayouzhi/blog/item/2fdcd1dc5</summary><published>2011-04-02T08:39:00Z</published><updated>2011-04-02T08:39:00Z</updated><author><name>名刘天下</name><uri>http://www.cnblogs.com/lzm525/</uri></author><link rel="alternate" href="http://www.cnblogs.com/lzm525/archive/2011/04/02/2003716.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/lzm525/archive/2011/04/02/2003716.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/lzm525/archive/2010/12/15/1907030.html</id><title type="text">关于服务器端控件与客户端之间的交互</title><summary type="text">1、服务器端控件执行客户端脚本，可以利用OnClientClick事件。下面有2个按钮，一个是客户端，一个是服务器端：&lt;input type="Button1" value="Submit" onclick="EventFunction()" /&gt;&lt;asp:Button ID="Button2" runat="server" Text="Button" OnClientClick="EventFunction();" /&gt;很多人肯定以为上面两个按钮的效果是一样的。 其实点击Button2（服务器端控件），后你会发现执行完客户端脚本之后，它继续会回传到服务器上，重新加载页面。那么怎么禁止这种控件</summary><published>2010-12-15T09:10:00Z</published><updated>2010-12-15T09:10:00Z</updated><author><name>名刘天下</name><uri>http://www.cnblogs.com/lzm525/</uri></author><link rel="alternate" href="http://www.cnblogs.com/lzm525/archive/2010/12/15/1907030.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/lzm525/archive/2010/12/15/1907030.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/lzm525/archive/2010/10/09/1846426.html</id><title type="text">C#资料收集</title><summary type="text">一、系列文章、二、好文章1、《C#与.NET3.5高级程序设计(第4版)》http://www.cnblogs.com/lerit/category/231232.html2、C#中的委托,匿名方法和Lambda表达式http://www.cnblogs.com/niyw/archive/2010/10/07/1845232.html3、C# 3.0新语言特性和改进(上篇)（下篇）http://www.cnblogs.com/lyj/archive/2008/01/08/1030525.htmlhttp://www.cnblogs.com/lyj/archive/2008/01/12/1035</summary><published>2010-10-09T03:03:00Z</published><updated>2010-10-09T03:03:00Z</updated><author><name>名刘天下</name><uri>http://www.cnblogs.com/lzm525/</uri></author><link rel="alternate" href="http://www.cnblogs.com/lzm525/archive/2010/10/09/1846426.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/lzm525/archive/2010/10/09/1846426.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/lzm525/archive/2009/03/11/1408928.html</id><title type="text">vs2003 升级到2005</title><summary type="text">今天把之前做的预算项目vs2003的转成vs2005，用vs2003算起来也快5年了，因为各种原因，一直未能向新版本转换，现在vs08都已经用的很多了，我的学生现在都直接用vs2008，当老师的怎么着也不能太落后了，否则没法指导学生了。汗颜...由于本子的配置运行08有些吃劲，就先升到05吧。</summary><published>2009-03-11T09:10:00Z</published><updated>2009-03-11T09:10:00Z</updated><author><name>名刘天下</name><uri>http://www.cnblogs.com/lzm525/</uri></author><link rel="alternate" href="http://www.cnblogs.com/lzm525/archive/2009/03/11/1408928.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/lzm525/archive/2009/03/11/1408928.html"/><content type="text">今天把之前做的预算项目vs2003的转成vs2005，用vs2003算起来也快5年了，因为各种原因，一直未能向新版本转换，现在vs08都已经用的很多了，我的学生现在都直接用vs2008，当老师的怎么着也不能太落后了，否则没法指导学生了。汗颜...由于本子的配置运行08有些吃劲，就先升到05吧。</content></entry><entry><id>http://www.cnblogs.com/lzm525/archive/2007/10/13/922983.html</id><title type="text">让服务器控件的事件同时执行客户端脚本和服务器端代码-转载</title><summary type="text">问题： 有时候我们需要一个服务器控件同时执行客户端脚本(如javascript)和服务器端代码。比如在进行表单验证的时候，希望先在客户端进行验证，只有通过验证才执行后台代码。这样可以避免不必要的postback,提供更好的用户体验。 解决方案： 在不同的地方分别注册客户端和服务器端事件处理函数。示例如下： Web页面代码(仅HTML部分)：&lt;HTML&gt;&lt;HEAD&gt;&lt;t...</summary><published>2007-10-13T01:21:00Z</published><updated>2007-10-13T01:21:00Z</updated><author><name>名刘天下</name><uri>http://www.cnblogs.com/lzm525/</uri></author><link rel="alternate" href="http://www.cnblogs.com/lzm525/archive/2007/10/13/922983.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/lzm525/archive/2007/10/13/922983.html"/><content type="text">问题： 有时候我们需要一个服务器控件同时执行客户端脚本(如javascript)和服务器端代码。比如在进行表单验证的时候，希望先在客户端进行验证，只有通过验证才执行后台代码。这样可以避免不必要的postback,提供更好的用户体验。 解决方案： 在不同的地方分别注册客户端和服务器端事件处理函数。示例如下： Web页面代码(仅HTML部分)：&lt;HTML&gt;&lt;HEAD&gt;&lt;t...</content></entry></feed>
