<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_scdsun</title><subtitle type="text">享受代码，享受生活</subtitle><id>http://feed.cnblogs.com/blog/u/6356/rss</id><updated>2009-06-19T16:09:59Z</updated><author><name>scdsun</name><uri>http://www.cnblogs.com/scdsun/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/scdsun/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/6356/rss"/><entry><id>http://www.cnblogs.com/scdsun/archive/2007/03/20/681326.html</id><title type="text">使用“WPS表格”导出Excel文档</title><summary type="text">昨天我提出了利用WPS 2005二次开发功能，使用.net开发文档导出的程序。今天，我将这个想法进行了实践。程序所实现的功能是从一个表示成员信息的xml文档中读取数据，并将这些数据导出为Excel表格，表格的样式如下图所示：表示成员信息的xml文档（保存在c:\members.xml供下面的代码调用）内容如下：&amp;lt;?xmlversion="1.0"encoding="UTF-8"?&amp;gt;&amp;l...</summary><published>2007-03-20T07:59:00Z</published><updated>2007-03-20T07:59:00Z</updated><author><name>scdsun</name><uri>http://www.cnblogs.com/scdsun/</uri></author><link rel="alternate" href="http://www.cnblogs.com/scdsun/archive/2007/03/20/681326.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/scdsun/archive/2007/03/20/681326.html"/></entry><entry><id>http://www.cnblogs.com/scdsun/archive/2007/03/19/679811.html</id><title type="text">使用WPS 2005的二次开发功能，是否可以成为.net导出文档的一种新途径？</title><summary type="text">我曾经进行过.net导出Excel的开发工作，因为对导出的Excel文档的格式要求比较高，所以，选择的是.net调用COM的方式进行的开发。整个开发的过程还是比较顺利的，但对最后程序运行的结果不是很满意。.net调用COM接口导出Excel文档的过程很慢，如果文档的内容比较多的情况下，等待十几二十秒以上的情况都时有发生。我也不知道我的代码写的有问题，还是.net调用COM组件就是很慢。总之，对.n...</summary><published>2007-03-19T06:00:00Z</published><updated>2007-03-19T06:00:00Z</updated><author><name>scdsun</name><uri>http://www.cnblogs.com/scdsun/</uri></author><link rel="alternate" href="http://www.cnblogs.com/scdsun/archive/2007/03/19/679811.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/scdsun/archive/2007/03/19/679811.html"/></entry><entry><id>http://www.cnblogs.com/scdsun/archive/2007/03/15/675946.html</id><title type="text">使用Visual Studio 2005 IDE的宏，自动为c#变量生成属性</title><summary type="text">在编写c#代码过程中，我们经常需要做一些重复枯燥的工作。例如，编写DTO（数据访问对象），通常就是为一个类定义一系列的变量和属性。有一些第三方的IDE辅助工具，可以为我们生成一些代码，减少工作量。例如，Assist X就是一款很值得推荐的工具，使用其提供的Encapsulate Field功能，可以很方便地将一个类地编写封装为属性。我今天需要介绍的如何使用Visual Studio 2005 ID...</summary><published>2007-03-15T06:43:00Z</published><updated>2007-03-15T06:43:00Z</updated><author><name>scdsun</name><uri>http://www.cnblogs.com/scdsun/</uri></author><link rel="alternate" href="http://www.cnblogs.com/scdsun/archive/2007/03/15/675946.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/scdsun/archive/2007/03/15/675946.html"/></entry><entry><id>http://www.cnblogs.com/scdsun/archive/2007/03/09/669557.html</id><title type="text">asp.net中的异常处理</title><summary type="text">异常处理是系统开发中的一个重要环节。好的异常处理流程，可以构建稳定的、可靠的系统，并且有很好的用户体验。而差的异常处理，可能造成系统的崩溃、带来安全隐患。有关异常处理的重要性，就不再赘述，下面还是叙述一下我对使用asp.net开发Web应用中异常处理的一些想法。如果需要对异常进行分类，从异常处理的角度来说，应该只有两类：可处理的异常未处理异常从字面的含义理解，&amp;#8220;可处理的异常&amp;#8221...</summary><published>2007-03-09T09:13:00Z</published><updated>2007-03-09T09:13:00Z</updated><author><name>scdsun</name><uri>http://www.cnblogs.com/scdsun/</uri></author><link rel="alternate" href="http://www.cnblogs.com/scdsun/archive/2007/03/09/669557.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/scdsun/archive/2007/03/09/669557.html"/></entry><entry><id>http://www.cnblogs.com/scdsun/archive/2007/03/07/666680.html</id><title type="text">IE与Firefox使用li a:hover的差异以及解决方案</title><summary type="text">考虑这样一种 CSS 控制 li 的显示效果，如下图所示：我的本意是通过 CSS 控制 li a:hover 的样式，在鼠标停留到具体的链接时，将该链接行的背景色设置为灰色，同时字体的颜色设置为白色。但是在IE6中测试发现，只有当鼠标移到链接的文字上时，才能有hover的效果（如上图所示，当鼠标指针超出了链接文字的范围，不能出现hover的效果）。而同样的代码内容，在Firefox浏览器中确可以正...</summary><published>2007-03-07T05:03:00Z</published><updated>2007-03-07T05:03:00Z</updated><author><name>scdsun</name><uri>http://www.cnblogs.com/scdsun/</uri></author><link rel="alternate" href="http://www.cnblogs.com/scdsun/archive/2007/03/07/666680.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/scdsun/archive/2007/03/07/666680.html"/></entry><entry><id>http://www.cnblogs.com/scdsun/archive/2007/03/06/664941.html</id><title type="text">推荐Zen Garden</title><summary type="text">主页地址：Zen Garden作为开发人员，对页面的样式设计确实是一个弱项。Zen Garden提供的一些资源以及链接，对我非常有帮助。</summary><published>2007-03-06T01:10:00Z</published><updated>2007-03-06T01:10:00Z</updated><author><name>scdsun</name><uri>http://www.cnblogs.com/scdsun/</uri></author><link rel="alternate" href="http://www.cnblogs.com/scdsun/archive/2007/03/06/664941.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/scdsun/archive/2007/03/06/664941.html"/></entry><entry><id>http://www.cnblogs.com/scdsun/archive/2007/02/10/646599.html</id><title type="text">使用 aspnet_regsql.exe 向 SQL Express 数据库中注册脚本</title><summary type="text">我使用Visual Studio 2005创建了一个本地文件系统的网站，目录为F:\codes\Site\。并且，在App_Data目录下，新建了一个SQL Express的实例——MyDB.mdf现在，我希望使用aspnet_regsql工具向MyDB中注册MemberShip相关的脚本。我尝试直接启用aspnet_regsql的图形界面，没有办法访问到SQL Express的实例MyDB.md...</summary><published>2007-02-09T16:50:00Z</published><updated>2007-02-09T16:50:00Z</updated><author><name>scdsun</name><uri>http://www.cnblogs.com/scdsun/</uri></author><link rel="alternate" href="http://www.cnblogs.com/scdsun/archive/2007/02/10/646599.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/scdsun/archive/2007/02/10/646599.html"/></entry><entry><id>http://www.cnblogs.com/scdsun/archive/2007/01/10/616708.html</id><title type="text">Visual Studio 2005不能进行调试，错误126: 找不到指定的模块</title><summary type="text">Visual Studio 2005一直不能进行调试，查看出错的原因，是因为Terminal Services服务不能正确启动。在【服务】里尝试启动Termial Services服务时，一直提示【错误126: 找不到指定的模块】的错。上网搜索了一下，发现了这样的信息：错误126：找不到指定的模块 1．故障现象尝试在&amp;#8220;服务&amp;#8221;管理单元窗口手动启动服务时，系统提示&amp;#8220;...</summary><published>2007-01-10T06:49:00Z</published><updated>2007-01-10T06:49:00Z</updated><author><name>scdsun</name><uri>http://www.cnblogs.com/scdsun/</uri></author><link rel="alternate" href="http://www.cnblogs.com/scdsun/archive/2007/01/10/616708.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/scdsun/archive/2007/01/10/616708.html"/></entry><entry><id>http://www.cnblogs.com/scdsun/archive/2007/01/08/614502.html</id><title type="text">App_Offline.htm</title><summary type="text">在调试asp.net 2.0开发的Web Application后，发现我的回收站里有很多App_Offline.htm文件。Google了一下，在ScottGu's Blog上找到了对App_Offline.htm的解释。App_Offline.htm上面提到，App_Offline.htm是Asp.net的一个新特性。在你想暂停你的Web Application时（例如升级，在升级的过程中，你...</summary><published>2007-01-08T00:44:00Z</published><updated>2007-01-08T00:44:00Z</updated><author><name>scdsun</name><uri>http://www.cnblogs.com/scdsun/</uri></author><link rel="alternate" href="http://www.cnblogs.com/scdsun/archive/2007/01/08/614502.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/scdsun/archive/2007/01/08/614502.html"/></entry><entry><id>http://www.cnblogs.com/scdsun/archive/2007/01/07/614274.html</id><title type="text">绑定句柄无效</title><summary type="text">曾多次遇到&amp;#8220;绑定句柄无效&amp;#8221;的问题，今天看到有记录这一问题的解决方案，引用一下：Error while trying to run project: Unable to start debugging 绑定句柄无效Visual Studio 2005 编写的项目可以编译，但不能调试，错误信息：Errorwhiletryingtorunproject:Unabletostart...</summary><published>2007-01-07T12:34:00Z</published><updated>2007-01-07T12:34:00Z</updated><author><name>scdsun</name><uri>http://www.cnblogs.com/scdsun/</uri></author><link rel="alternate" href="http://www.cnblogs.com/scdsun/archive/2007/01/07/614274.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/scdsun/archive/2007/01/07/614274.html"/></entry></feed>
