<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:wfw="http://wellformedweb.org/CommentAPI/">
  <channel>
    <title><![CDATA[]]></title> 
    <link>http://www.ccopus.com/blog/</link> 
    <description><![CDATA[]]></description> 
    <language>zh-cn</language> 
    <copyright><![CDATA[Copyright 2008, ]]></copyright> 
    <webMaster><![CDATA[sunrise_chen@msn.com (Sunrise_Chen)]]></webMaster> 
    <generator>LBS v2.0.304</generator> 
    <pubDate>Thu, 28 Aug 2008 06:59:37 +0800</pubDate> 
    <ttl>60</ttl>
  
    <item>
      <title><![CDATA[Select data from an Excel sheet in MSSQL]]></title> 
      <link><![CDATA[http://www.ccopus.com/blog/article.asp?id=15]]></link> 
      <category><![CDATA[经验&技巧]]></category> 
      <author><![CDATA[Admin <null@null.com>]]></author> 
      <pubDate>Fri, 22 Jun 2007 15:10:08 +0800</pubDate> 
      <description><![CDATA[select * <br />from openrowset(&#39;Microsoft.Jet.OLEDB.4.0&#39;<br /> ,&#39;Excel 8.0;HDR=YES;IMEX=1;DATABASE=d:\folder\excel.xls&#39;,Sheet1$)<br /> <br />-------NOTE------<br />Setting IMEX=1 tells the driver to use Import mode. In this state, the registry setting ImportMixedTypes=Text will be noticed. This forces mixed data to be converted to text. For this to work reliably, you may also have to modify the registry setting, TypeGuessRows=8. The ISAM driver by default looks at the first eight rows and from that sampling determines the datatype. If this eight row sampling is all numeric, then s]]></description>
      <wfw:commentRss><![CDATA[http://www.ccopus.com/blog/feed.asp?q=comment&id=15]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[Send Mail with CDO]]></title> 
      <link><![CDATA[http://www.ccopus.com/blog/article.asp?id=14]]></link> 
      <category><![CDATA[经验&技巧]]></category> 
      <author><![CDATA[Admin <null@null.com>]]></author> 
      <pubDate>Thu, 25 Jan 2007 16:58:22 +0800</pubDate> 
      <description><![CDATA[<div class="code">&lt;!--METADATA TYPE=&quot;typelib&quot; UUID=&quot;CD000000-8B95-11D1-82DB-00C04FB1625D&quot; NAME=&quot;CDO for Windows 2000 Library&quot; --&gt;<br />&lt;%<br />&nbsp;&nbsp;&nbsp;&nbsp;myMail = new ActiveXObject(&quot;CDO.Message&quot;);<br />&nbsp;&nbsp;&nbsp;&nbsp;myMail.Configuration.Fields.Item(cdoSendUsingMethod) = cdoSendUsingPort;<br />&nbsp;&nbsp;&nbsp;&nbsp;myMail.Configuration.Fields.Item(cdoSMTPServer) = &quot;mail.mailserver.com&quot;;<br />&nbsp;&nbsp;&nbsp;&nbsp;myMail.Configuration.Fields.Item(cdoSMTPServerPort) = 25;<br />&nbsp;&nbsp;&nbsp;&nbsp;myMail.Configuration.</div>]]></description>
      <wfw:commentRss><![CDATA[http://www.ccopus.com/blog/feed.asp?q=comment&id=14]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[Send Mail with JMail]]></title> 
      <link><![CDATA[http://www.ccopus.com/blog/article.asp?id=13]]></link> 
      <category><![CDATA[经验&技巧]]></category> 
      <author><![CDATA[Admin <null@null.com>]]></author> 
      <pubDate>Thu, 25 Jan 2007 16:44:22 +0800</pubDate> 
      <description><![CDATA[<div class="code">&nbsp;Dim JMail<br />&nbsp;Set JMail = Server.CreateObject(&quot;JMail.Message&quot;)<br />&nbsp;JMail.Logging = true<br />&nbsp;JMail.Silent = true<br />&nbsp;JMail.MailServerUserName = &quot;serverusername&quot;<br />&nbsp;JMail.MailServerPassword = &quot;password&quot;<br />&nbsp;JMail.Charset = &quot;utf-8&quot;<br />&nbsp;JMail.From = &quot;sender@xxx.com&quot;<br />&nbsp;JMail.AddRecipient(&quot;recipient@xxx.com&quot;)</div>]]></description>
      <wfw:commentRss><![CDATA[http://www.ccopus.com/blog/feed.asp?q=comment&id=13]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[Send Mail in ASP.NET 2.0]]></title> 
      <link><![CDATA[http://www.ccopus.com/blog/article.asp?id=12]]></link> 
      <category><![CDATA[经验&技巧]]></category> 
      <author><![CDATA[Admin <null@null.com>]]></author> 
      <pubDate>Wed, 17 Jan 2007 23:17:21 +0800</pubDate> 
      <description><![CDATA[public static void SendSMTPEMail(string strSmtpServer, string strFrom, string strFromPass, string strto, string strSubject, string strBody)<br />{<br />    System.Net.Mail.SmtpClient client = new SmtpClient(strSmtpServer);<br />    client.UseDefaultCredentials = false;<br />    client.Credentials = new System.Net.NetworkCredential(strFrom, strFromPass);<br />    client.DeliveryMethod = SmtpDeliveryMethod.Network;<br />]]></description>
      <wfw:commentRss><![CDATA[http://www.ccopus.com/blog/feed.asp?q=comment&id=12]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[Send Mail in ASP.NET 1.x]]></title> 
      <link><![CDATA[http://www.ccopus.com/blog/article.asp?id=11]]></link> 
      <category><![CDATA[经验&技巧]]></category> 
      <author><![CDATA[Admin <null@null.com>]]></author> 
      <pubDate>Wed, 17 Jan 2007 23:16:35 +0800</pubDate> 
      <description><![CDATA[private void Page_Load(object sender, System.EventArgs e)<br />{<br />       MailMessage mail = new MailMessage();<br />       mail.To = &quot;me@mycompany.com&quot;;<br />       mail.From = &quot;you@yourcompany.com&quot;;<br />       mail.Subject = &quot;this is a test email.&quot;;<br />       mail.Body = &quot;Some text goes here&quot;;<br />       mail.Fields.Add(&quot;<a href="http://schemas.microsoft.com/cdo/configuration/smtpauthenticate" title="http://schemas.microsoft.com/cdo/configuration/smtpauthenticate" target="_blank">http://schemas.microsoft.com/cdo/configuration/smtpauthenticate</a>&quot;, &quot;1&quot;); //basic authentication<br />]]></description>
      <wfw:commentRss><![CDATA[http://www.ccopus.com/blog/feed.asp?q=comment&id=11]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[第一次做Gadget，有兴趣的朋友看看，呵呵~，写得比较烂]]></title> 
      <link><![CDATA[http://www.ccopus.com/blog/article.asp?id=10]]></link> 
      <category><![CDATA[我们的作品(整理中...)]]></category> 
      <author><![CDATA[Admin <null@null.com>]]></author> 
      <pubDate>Wed, 15 Nov 2006 17:12:33 +0800</pubDate> 
      <description><![CDATA[<a href="http://www.ccopus.com/sodoku/Gadget.xml" title="http://www.ccopus.com/sodoku/Gadget.xml" target="_blank">http://www.ccopus.com/sodoku/Gadget.xml</a><br /><br />要装到www.live.com上才能玩]]></description>
      <wfw:commentRss><![CDATA[http://www.ccopus.com/blog/feed.asp?q=comment&id=10]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[一段未完成的代码（推箱子游戏）]]></title> 
      <link><![CDATA[http://www.ccopus.com/blog/article.asp?id=9]]></link> 
      <category><![CDATA[一些历年的代码]]></category> 
      <author><![CDATA[Admin <null@null.com>]]></author> 
      <pubDate>Wed, 11 Oct 2006 11:06:23 +0800</pubDate> 
      <description><![CDATA[曾经心血来潮，想做一个推箱子游戏，但后来因为时间关系，始终没有完成，以下是写了一半的代码，只实现了地图初始化，没有加上动作控制。<br /><div class="code">&lt;script language=javascript&gt;<br />&nbsp;&nbsp;var R = 10, C = 10;<br /><br />&nbsp;&nbsp;var MAPS =   [];<br />&nbsp;&nbsp;MAPS[0] = &quot;0000000000000111000000012100000001011110011130321001203511100111131000000012100000001110000000000000&quot;;<br />&nbsp;&nbsp;MAPS[1] = &quot;1111100000100510000010331011101030101210111011121001100002100100010010010001111001111100000000000000&quot;;<br />&nbsp;&nbsp;MAPS[2] = &quot;00000000000111111</div>]]></description>
      <wfw:commentRss><![CDATA[http://www.ccopus.com/blog/feed.asp?q=comment&id=9]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[制作简单的服务器性能测试页面]]></title> 
      <link><![CDATA[http://www.ccopus.com/blog/article.asp?id=8]]></link> 
      <category><![CDATA[一些历年的代码]]></category> 
      <author><![CDATA[Admin <null@null.com>]]></author> 
      <pubDate>Sun, 08 Oct 2006 11:10:26 +0800</pubDate> 
      <description><![CDATA[<div class="code">&lt;HTML&gt;<br />&lt;HEAD&gt;<br />&lt;META NAME=&quot;GENERATOR&quot; Content=&quot;Microsoft System Monitor&quot;&gt;<br />&lt;META NAME=&quot;Author&quot; CONTENT=&quot;sunrise_chen@msn.com&quot;&gt;<br />&lt;META HTTP-EQUIV=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;&gt;<br />&lt;/HEAD&gt;&lt;BODY&gt;<br />&lt;OBJECT ID=&quot;DISystemMonitor1&quot; WIDTH=&quot;100%&quot; HEIGHT=&quot;100%&quot;<br />CLASSID=&quot;CLSID:C4D2D8E0-D1DD-11CE-940F-008029004347&quot;&gt;<br />&nbsp;&lt;PARAM NAME=&quot;Counter00001.Path&quot; VALUE=&quot;\\SUNRISE\Memory\Available MBytes&quot;&gt;</div>]]></description>
      <wfw:commentRss><![CDATA[http://www.ccopus.com/blog/feed.asp?q=comment&id=8]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[ASP封成DLL]]></title> 
      <link><![CDATA[http://www.ccopus.com/blog/article.asp?id=7]]></link> 
      <category><![CDATA[经验&技巧]]></category> 
      <author><![CDATA[Admin <null@null.com>]]></author> 
      <pubDate>Sun, 08 Oct 2006 11:09:31 +0800</pubDate> 
      <description><![CDATA[ASP封成DLL<br /><br />服务器端组件 <br /><br />首先,服务器端的组件要有别于客户端的组件.客户端的组件是通过网络传输,依靠HTML来起作用.而且只能在IE上有用.但是服 务器端的组件是运行在服务器端,它在服务器上执行各种操作.因此,所有的浏览器都能享用,它依*的是服务器而不是浏览器. <br /><br />当IIS被请求执行一个ASP程序,它首先会在ASP文件中找到&lt;%%&gt;标签之间的代码,并且执行它(也可以是&lt;script runat=server&gt;&lt;/script&gt;之间的代码).如果这个ASP程序在先前被调用过,那么它就会用 内存中的编译过的程序来向用户返回HTML代码,如果没有,那么它就重新编译.这里ASP就比CGI多一点速度优势,因为CGI 是每一个请求都使用一个线程.这样就大大消耗了服务器的资源.<br /><br />想不想你写的程序自己就能在IIS运行!?!现在你就行了!使用VB5(当然现在是VB6了),你就能建立DynamicLin ]]></description>
      <wfw:commentRss><![CDATA[http://www.ccopus.com/blog/feed.asp?q=comment&id=7]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[JScript on the server: GetRows example]]></title> 
      <link><![CDATA[http://www.ccopus.com/blog/article.asp?id=6]]></link> 
      <category><![CDATA[经验&技巧]]></category> 
      <author><![CDATA[Admin <null@null.com>]]></author> 
      <pubDate>Sun, 08 Oct 2006 10:43:31 +0800</pubDate> 
      <description><![CDATA[JScript on the server: GetRows example<br /><br />by Peter Johnson<br />Translated by Sunrise_Chen &lt;sunrise_chen@msn.com&gt;<br /><br />Who should read this article: Programmers writing ASP in JScript instead of VBScript<br />谁适合读这篇文章: 用JScript替代VBScript写ASP的程序员。<br /><br />I&#39;ve found many sites that advocate the use of GetRows, including LearnASP (which also has GetRows functionality on steroids available in JScript in the form of ]]></description>
      <wfw:commentRss><![CDATA[http://www.ccopus.com/blog/feed.asp?q=comment&id=6]]></wfw:commentRss>
    </item>
      
  </channel>
</rss>
