<?xml version="1.0" encoding="gb2312"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xml:lang="zh-cn">
    
    <title>skynice</title> 
<link rel="alternate" type="text/html" href="http://iceling2008.itpub.net" /> 
 
<modified>Thu,17 05 2012 02:14:11</modified> 
<tagline></tagline> 
<generator url="http://www.plogworld.net/" version="1.0.1">pLog</generator> 
 
<copyright>Copyright (c) iceling2008</copyright> 
    
 <entry> 
 <id>tag:post:blog.itpub.net,Thu,16 11 2006 17:31:23</id>
 <title>让HTML页面不缓存</title> 
 <link rel="alternate" type="text/html" href="http://iceling2008.itpub.net/post/13270/229600" /> 
  
 <modified>Thu,16 11 2006 17:31:23</modified> 
 <issued>Thu,16 11 2006 17:31:23</issued> 
 <created>Thu,16 11 2006 17:31:23</created> 
 <summary type="text/plain"> &lt;META HTTP-EQUIV=&quot;pragma&quot; CONTENT=&quot;no-cache&quot;&gt;&lt;META HTTP-EQUIV=&quot;Cache-Control&quot; CONTENT=&quot;no-cache, must-revalidate&quot;&gt;&lt;META HTTP-EQUIV=&quot;expires&quot; CONTENT=&quot;Wed, 26 Feb 1997 08:21:57 GMT&quot;&gt;</summary> 
 <author> 
  
 <name>iceling2008</name> 
 <url>http://iceling2008.itpub.net</url> 
 <email>skynice001@yahoo.com.cn</email> 
</author> 
<dc:subject>
.NET
</dc:subject> 
 <content type="text/html" mode="escaped" xml:lang="zh-cn" xml:base="http://iceling2008.itpub.net"> 
 &lt;META HTTP-EQUIV=&quot;pragma&quot; CONTENT=&quot;no-cache&quot;&gt;&lt;META HTTP-EQUIV=&quot;Cache-Control&quot; CONTENT=&quot;no-cache, must-revalidate&quot;&gt;&lt;META HTTP-EQUIV=&quot;expires&quot; CONTENT=&quot;Wed, 26 Feb 1997 08:21:57 GMT&quot;&gt;</content> 
</entry> 

 <entry> 
 <id>tag:post:blog.itpub.net,Wed,18 10 2006 09:53:31</id>
 <title>将网页中的表格存储为EXCEL文件</title> 
 <link rel="alternate" type="text/html" href="http://iceling2008.itpub.net/post/13270/222184" /> 
  
 <modified>Wed,18 10 2006 09:53:31</modified> 
 <issued>Wed,18 10 2006 09:53:31</issued> 
 <created>Wed,18 10 2006 09:53:31</created> 
 <summary type="text/plain"> function Save(result,title) { if(document.queryCommandEnabled('saveAS')) {var para = 'toolbar=0,titlebar=0,menubar=0,resizable=0,Height=7,Width=8,status=0,top=2000,left=2000,scrollbars=0'; win=open('about:blank','',para); win.charset='GB2312'; win.document.write(result.innerHTML); win.document.execCommand('SaveAs',true,title + '.xls'); win.close(); }} </summary> 
 <author> 
  
 <name>iceling2008</name> 
 <url>http://iceling2008.itpub.net</url> 
 <email>skynice001@yahoo.com.cn</email> 
</author> 
<dc:subject>
JavaScript
</dc:subject> 
 <content type="text/html" mode="escaped" xml:lang="zh-cn" xml:base="http://iceling2008.itpub.net"> 
 function Save(result,title) { if(document.queryCommandEnabled('saveAS')) {var para = 'toolbar=0,titlebar=0,menubar=0,resizable=0,Height=7,Width=8,status=0,top=2000,left=2000,scrollbars=0'; win=open('about:blank','',para); win.charset='GB2312'; win.document.write(result.innerHTML); win.document.execCommand('SaveAs',true,title + '.xls'); win.close(); }} </content> 
</entry> 

 <entry> 
 <id>tag:post:blog.itpub.net,Wed,11 10 2006 08:50:34</id>
 <title>面向对象软件开发和过程——优化代码的组织 </title> 
 <link rel="alternate" type="text/html" href="http://iceling2008.itpub.net/post/13270/219848" /> 
  
 <modified>Wed,11 10 2006 08:50:34</modified> 
 <issued>Wed,11 10 2006 08:50:34</issued> 
 <created>Wed,11 10 2006 08:50:34</created> 
 <summary type="text/plain"> 面向对象软件开发和过程——优化代码的组织相信任何一位程序员都曾经见过面条状的代码，这种代码给人留下的只是噩梦。面向对象能够支持较好的代码组织方式，基本的处理思路是先将问题于分而治之，然后再把分开的代码整合起来。分而治之和整合，成为组织代码的关键思路。1. 抽象是重要的思路抽象是面向对象中优化代码组织的一个重要的思路。抽象的目标是消除细节，让开发人员的注意力集中在重要的目标之上。抽象的思路在计算机世界中无处不在。TCP协议栈的不同层次都提供一种抽象，对上层隐藏了下层的细节；业务模型也提供了一种抽象，对领...</summary> 
 <author> 
  
 <name>iceling2008</name> 
 <url>http://iceling2008.itpub.net</url> 
 <email>skynice001@yahoo.com.cn</email> 
</author> 
<dc:subject>
.NET
</dc:subject> 
 <content type="text/html" mode="escaped" xml:lang="zh-cn" xml:base="http://iceling2008.itpub.net"> 
 面向对象软件开发和过程——优化代码的组织相信任何一位程序员都曾经见过面条状的代码，这种代码给人留下的只是噩梦。面向对象能够支持较好的代码组织方式，基本的处理思路是先将问题于分而治之，然后再把分开的代码整合起来。分而治之和整合，成为组织代码的关键思路。1. 抽象是重要的思路抽象是面向对象中优化代码组织的一个重要的思路。抽象的目标是消除细节，让开发人员的注意力集中在重要的目标之上。抽象的思路在计算机世界中无处不在。TCP协议栈的不同层次都提供一种抽象，对上层隐藏了下层的细节；业务模型也提供了一种抽象，对领...</content> 
</entry> 

 <entry> 
 <id>tag:post:blog.itpub.net,Wed,11 10 2006 08:44:15</id>
 <title>61条面向对象设计的经验原则</title> 
 <link rel="alternate" type="text/html" href="http://iceling2008.itpub.net/post/13270/219847" /> 
  
 <modified>Wed,11 10 2006 08:44:15</modified> 
 <issued>Wed,11 10 2006 08:44:15</issued> 
 <created>Wed,11 10 2006 08:44:15</created> 
 <summary type="text/plain"> 61条面向对象设计的经验原则 阅读 来自：Blog.CSDN 《OOD启思录》 作者：J.Riel 鲍志云 译 [2004/10/11] 原文：http://blog.csdn.net/cpluser/archive/2004/10/09/129291.aspx (1)所有数据都应该隐藏在所在的类的内部。p13 (2)类的使用者必须依赖类的共有接口，但类不能依赖它的使用者。p15 (3)尽量减少类的协议中的消息。p16(4)实现所有类都理解的最基本公有接口[例如，拷贝操作(深拷贝和浅拷贝)、相等性判断、正确输出内容、从ASCII描述解析等等]。 p16 (5)不要把实现细节(例如放置共用代码的私有函数)放到类的公有接口中。p17 如果类的...</summary> 
 <author> 
  
 <name>iceling2008</name> 
 <url>http://iceling2008.itpub.net</url> 
 <email>skynice001@yahoo.com.cn</email> 
</author> 
<dc:subject>
.NET
</dc:subject> 
 <content type="text/html" mode="escaped" xml:lang="zh-cn" xml:base="http://iceling2008.itpub.net"> 
 61条面向对象设计的经验原则 阅读 来自：Blog.CSDN 《OOD启思录》 作者：J.Riel 鲍志云 译 [2004/10/11] 原文：http://blog.csdn.net/cpluser/archive/2004/10/09/129291.aspx (1)所有数据都应该隐藏在所在的类的内部。p13 (2)类的使用者必须依赖类的共有接口，但类不能依赖它的使用者。p15 (3)尽量减少类的协议中的消息。p16(4)实现所有类都理解的最基本公有接口[例如，拷贝操作(深拷贝和浅拷贝)、相等性判断、正确输出内容、从ASCII描述解析等等]。 p16 (5)不要把实现细节(例如放置共用代码的私有函数)放到类的公有接口中。p17 如果类的...</content> 
</entry> 

 <entry> 
 <id>tag:post:blog.itpub.net,Wed,27 09 2006 13:32:08</id>
 <title>在SQLSERVER中用SQL语句得到年月日（xxxx-xx-xx）</title> 
 <link rel="alternate" type="text/html" href="http://iceling2008.itpub.net/post/13270/213655" /> 
  
 <modified>Wed,27 09 2006 13:32:08</modified> 
 <issued>Wed,27 09 2006 13:32:08</issued> 
 <created>Wed,27 09 2006 13:32:08</created> 
 <summary type="text/plain"> select convert(char(10),getdate(),120)</summary> 
 <author> 
  
 <name>iceling2008</name> 
 <url>http://iceling2008.itpub.net</url> 
 <email>skynice001@yahoo.com.cn</email> 
</author> 
<dc:subject>
一般分类
</dc:subject> 
 <content type="text/html" mode="escaped" xml:lang="zh-cn" xml:base="http://iceling2008.itpub.net"> 
 select convert(char(10),getdate(),120)</content> 
</entry> 

 <entry> 
 <id>tag:post:blog.itpub.net,Thu,14 09 2006 10:43:57</id>
 <title>．NET中”线程正被终止“异常</title> 
 <link rel="alternate" type="text/html" href="http://iceling2008.itpub.net/post/13270/207771" /> 
  
 <modified>Thu,14 09 2006 10:43:57</modified> 
 <issued>Thu,14 09 2006 10:43:57</issued> 
 <created>Thu,14 09 2006 10:43:57</created> 
 <summary type="text/plain"> ”线程正被终止“异常在项目里负责异常处理部分：异常信息的写入，读取，查看，因此就可以看到各种异常，受益匪浅看到有N多的“线程正被中止”异常，而且来自同一个页面。System.Threading.ThreadAbortException: 线程正被中止。at System.Threading.Thread.AbortInternal() at System.Threading.Thread.Abort(Object stateInfo) at System.Web.HttpResponse.End() at System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm) at RPM.Page.LogInHR.btnLogin_Click(Object sender, EventArgs e) in c:inetpubwwwrootrpm...</summary> 
 <author> 
  
 <name>iceling2008</name> 
 <url>http://iceling2008.itpub.net</url> 
 <email>skynice001@yahoo.com.cn</email> 
</author> 
<dc:subject>
.NET
</dc:subject> 
 <content type="text/html" mode="escaped" xml:lang="zh-cn" xml:base="http://iceling2008.itpub.net"> 
 ”线程正被终止“异常在项目里负责异常处理部分：异常信息的写入，读取，查看，因此就可以看到各种异常，受益匪浅看到有N多的“线程正被中止”异常，而且来自同一个页面。System.Threading.ThreadAbortException: 线程正被中止。at System.Threading.Thread.AbortInternal() at System.Threading.Thread.Abort(Object stateInfo) at System.Web.HttpResponse.End() at System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm) at RPM.Page.LogInHR.btnLogin_Click(Object sender, EventArgs e) in c:inetpubwwwrootrpm...</content> 
</entry> 

 <entry> 
 <id>tag:post:blog.itpub.net,Mon,11 09 2006 15:23:36</id>
 <title>页面只刷新iframe中iframe的页面</title> 
 <link rel="alternate" type="text/html" href="http://iceling2008.itpub.net/post/13270/207250" /> 
  
 <modified>Mon,11 09 2006 15:23:36</modified> 
 <issued>Mon,11 09 2006 15:23:36</issued> 
 <created>Mon,11 09 2006 15:23:36</created> 
 <summary type="text/plain"> document.frames(&quot;show_search&quot;).document.location.reload();</summary> 
 <author> 
  
 <name>iceling2008</name> 
 <url>http://iceling2008.itpub.net</url> 
 <email>skynice001@yahoo.com.cn</email> 
</author> 
<dc:subject>
JavaScript
</dc:subject> 
 <content type="text/html" mode="escaped" xml:lang="zh-cn" xml:base="http://iceling2008.itpub.net"> 
 document.frames(&quot;show_search&quot;).document.location.reload();</content> 
</entry> 

 <entry> 
 <id>tag:post:blog.itpub.net,Thu,07 09 2006 09:00:49</id>
 <title>javascript取得整张页面的大小</title> 
 <link rel="alternate" type="text/html" href="http://iceling2008.itpub.net/post/13270/204859" /> 
  
 <modified>Thu,07 09 2006 09:00:49</modified> 
 <issued>Thu,07 09 2006 09:00:49</issued> 
 <created>Thu,07 09 2006 09:00:49</created> 
 <summary type="text/plain"> 这里使用div+iframe的方式实现了一个模式对话框，而最关键的在于，下面的那一层灰色的div需要覆盖整个页面。那如何取得页面的大小呢。在“闪播中找到的函数： / getPageSize()// Returns array with page width, height and window width, height// Core code from - quirksmode.org// Edit for Firefox by pHaez//function getPageSize(){ var xScroll, yScroll; if (window.innerHeight &amp;&amp; window.scrollMaxY) { xScroll = document.body.scrollWidth; yScroll = window.innerHeight + window.scrollMaxY; } else if (document.body.scr...</summary> 
 <author> 
  
 <name>iceling2008</name> 
 <url>http://iceling2008.itpub.net</url> 
 <email>skynice001@yahoo.com.cn</email> 
</author> 
<dc:subject>
JavaScript
</dc:subject> 
 <content type="text/html" mode="escaped" xml:lang="zh-cn" xml:base="http://iceling2008.itpub.net"> 
 这里使用div+iframe的方式实现了一个模式对话框，而最关键的在于，下面的那一层灰色的div需要覆盖整个页面。那如何取得页面的大小呢。在“闪播中找到的函数： / getPageSize()// Returns array with page width, height and window width, height// Core code from - quirksmode.org// Edit for Firefox by pHaez//function getPageSize(){ var xScroll, yScroll; if (window.innerHeight &amp;&amp; window.scrollMaxY) { xScroll = document.body.scrollWidth; yScroll = window.innerHeight + window.scrollMaxY; } else if (document.body.scr...</content> 
</entry> 

 <entry> 
 <id>tag:post:blog.itpub.net,Thu,07 09 2006 08:59:01</id>
 <title>div被列表框遮挡</title> 
 <link rel="alternate" type="text/html" href="http://iceling2008.itpub.net/post/13270/204857" /> 
  
 <modified>Thu,07 09 2006 08:59:01</modified> 
 <issued>Thu,07 09 2006 08:59:01</issued> 
 <created>Thu,07 09 2006 08:59:01</created> 
 <summary type="text/plain"> &lt;style type=&quot;text/css&quot;&gt;&lt;!--#aa{width:300px;height: 150px;padding-left:13px;padding-top:175px;}iframe { width: 200px; height: 18px; }--&gt;&lt;/style&gt;&lt;DIV id=aa&gt;&lt;IFRAME src=&quot;/url.htm&quot; frameBorder=0 scrolling=no&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;</summary> 
 <author> 
  
 <name>iceling2008</name> 
 <url>http://iceling2008.itpub.net</url> 
 <email>skynice001@yahoo.com.cn</email> 
</author> 
<dc:subject>
.NET
</dc:subject> 
 <content type="text/html" mode="escaped" xml:lang="zh-cn" xml:base="http://iceling2008.itpub.net"> 
 &lt;style type=&quot;text/css&quot;&gt;&lt;!--#aa{width:300px;height: 150px;padding-left:13px;padding-top:175px;}iframe { width: 200px; height: 18px; }--&gt;&lt;/style&gt;&lt;DIV id=aa&gt;&lt;IFRAME src=&quot;/url.htm&quot; frameBorder=0 scrolling=no&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;</content> 
</entry> 

 <entry> 
 <id>tag:post:blog.itpub.net,Thu,07 09 2006 08:28:34</id>
 <title>关于asp.net session丢失问题</title> 
 <link rel="alternate" type="text/html" href="http://iceling2008.itpub.net/post/13270/204850" /> 
  
 <modified>Thu,07 09 2006 08:28:34</modified> 
 <issued>Thu,07 09 2006 08:28:34</issued> 
 <created>Thu,07 09 2006 08:28:34</created> 
 <summary type="text/plain"> 不只是session，asp.net中application、cache都很容易丢失，特别是当任何一个访问的用户中遇到异常，都很容易把所有内存中的数据丢失掉。.net为了session丢失提供了一个解决方案，他可以把session状态保存在一个独立的进程中，这个进程不受asp.net的进程管理，因此即使asp.net服务进程回收内存也不会导致session丢失。而这个过程也很简单，先在服务中aspnet_state服务开启（最好选择自动），而程序中，我们需要在web.config中配置&lt;sessionState mode=&quot;StateServer&quot; stateConnectionString=&quot;tcpip=127.0.0.1:42424&quot;&gt;&lt;/sessionState&gt;就可以了...</summary> 
 <author> 
  
 <name>iceling2008</name> 
 <url>http://iceling2008.itpub.net</url> 
 <email>skynice001@yahoo.com.cn</email> 
</author> 
<dc:subject>
.NET
</dc:subject> 
 <content type="text/html" mode="escaped" xml:lang="zh-cn" xml:base="http://iceling2008.itpub.net"> 
 不只是session，asp.net中application、cache都很容易丢失，特别是当任何一个访问的用户中遇到异常，都很容易把所有内存中的数据丢失掉。.net为了session丢失提供了一个解决方案，他可以把session状态保存在一个独立的进程中，这个进程不受asp.net的进程管理，因此即使asp.net服务进程回收内存也不会导致session丢失。而这个过程也很简单，先在服务中aspnet_state服务开启（最好选择自动），而程序中，我们需要在web.config中配置&lt;sessionState mode=&quot;StateServer&quot; stateConnectionString=&quot;tcpip=127.0.0.1:42424&quot;&gt;&lt;/sessionState&gt;就可以了...</content> 
</entry> 
     </feed>



