﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博客园-Kent [.Net2005,SQL2005,Team foundation server,ASP.Net,]-最新评论</title><link>http://www.cnblogs.com/it99kent/CommentsRSS.aspx</link><description /><language>zh-cn</language><pubDate>Thu, 29 Nov 2007 08:03:41 GMT</pubDate><lastBuildDate>Thu, 29 Nov 2007 08:03:41 GMT</lastBuildDate><generator>cnblogs</generator><item><title>re: 关于 SQL Server 使用 Unicode 数据</title><link>http://www.cnblogs.com/it99kent/archive/2009/01/08/898857.html#1425683</link><dc:creator>itkent</dc:creator><author>itkent</author><pubDate>Thu, 08 Jan 2009 05:56:39 GMT</pubDate><guid>http://www.cnblogs.com/it99kent/archive/2009/01/08/898857.html#1425683</guid><description><![CDATA[@nimrod<br/>hi,你好！sorry，我对MYSQL不熟。<br/><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/it99kent/" target="_blank">itkent</a> 2009-01-08 13:56 <a href="http://www.cnblogs.com/it99kent/archive/2009/01/08/898857.html#1425683#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: Sys.WebForms.PageRequestManagerParserErrorException 错误的解决办法</title><link>http://www.cnblogs.com/it99kent/archive/2008/09/27/898110.html#1328148</link><dc:creator>黑大老大</dc:creator><author>黑大老大</author><pubDate>Sat, 27 Sep 2008 02:46:24 GMT</pubDate><guid>http://www.cnblogs.com/it99kent/archive/2008/09/27/898110.html#1328148</guid><description><![CDATA[老大，没用啊。加了那个是不报错了，可就变成全页面刷新了，那跟不用AJAX有什么区别呢 ？<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/it99kent/" target="_blank">黑大老大</a> 2008-09-27 10:46 <a href="http://www.cnblogs.com/it99kent/archive/2008/09/27/898110.html#1328148#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 关于 SQL Server 使用 Unicode 数据</title><link>http://www.cnblogs.com/it99kent/archive/2008/07/29/898857.html#1270786</link><dc:creator>nimrod</dc:creator><author>nimrod</author><pubDate>Tue, 29 Jul 2008 04:06:38 GMT</pubDate><guid>http://www.cnblogs.com/it99kent/archive/2008/07/29/898857.html#1270786</guid><description><![CDATA[我用SQL SERVER 2000 连接MYSQL 进行取数据,但是,由于MYSQL里面的中文编码为UTF8,而SQL SERVER里面的编码为GBK的，<br/><br/>因此,查询出来的中文都是乱码,请问这个需要怎么解决。?  非常感谢.<br/><br/>查询语句:<br/>select * from OPENQUERY(dw_db_test,'select * from my_table')<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/it99kent/" target="_blank">nimrod</a> 2008-07-29 12:06 <a href="http://www.cnblogs.com/it99kent/archive/2008/07/29/898857.html#1270786#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: javascript setTimeout 和 setInterval </title><link>http://www.cnblogs.com/it99kent/archive/2007/09/22/901956.html#902537</link><dc:creator>Kent</dc:creator><author>Kent</author><pubDate>Sat, 22 Sep 2007 07:17:00 GMT</pubDate><guid>http://www.cnblogs.com/it99kent/archive/2007/09/22/901956.html#902537</guid><description><![CDATA[Page.Response.Write(&quot;&lt;script&gt;var response;&lt;/script&gt;&quot;);    <br><br>Page.RegisterStartupScript(&quot;RegisterStartupScript&quot;,&quot;&lt;script&gt;var RegisterStartupScript;&lt;/script&gt;&quot;);    <br><br>Page.RegisterClientScriptBlock(&quot;RegisterClientScriptBlock&quot;,&quot;&lt;script&gt;var RegisterClientScriptBlock;&lt;/script&gt;&quot;);   <br><br>Response.Write输出后的位置在源文件的第一行. <br><br>RegisterClientScriptBlock输出后的位置会在&lt;form&gt;的下一行.(在asp.net自带的脚本和一些隐藏域之下). <br><br>RegisterStartupScript输出后的位置会在&lt;/form&gt;的上一行.<br><br>RegisterClientScriptBlock的原型与RegisterStartupScript相同,两个函数不同在于将其包含的脚本代码写入到HTML文件的不同位置.RegisterClientScriptBlock在 Page 对象的 元素的开始标记后立即发出客户端脚本,RegisterStartupScript则是在Page 对象的 元素的结束标记之前发出该脚本。如果你的脚本有与页面对象(doucument对象)进行交互的语句,则推荐使用RegisterStartupScript,反之如果要想客户端脚本尽可能早的执行，则可以使用RegisterClientScriptBlock或Response.Write。<br><br>RegisterClientScriptBlock一般返回的是客户端函数的包装，而RegisterStartupScript返回得函数在document装载完成后会执行，类似于我们平时所说的body onload=&quot;f()&quot;里面的函数；这两个方法在客户端呈现的代码位置不同，RegisterClientScriptBlock在&lt;form runat=server&gt;之后，而RegisterStartupScript在&lt;/form&gt;之前。<br><br>补充例子：<br>....<br>&lt;/HEAD&gt;<br>&lt;body MS_POSITIONING=&quot;GridLayout&quot;&gt;<br>&lt;form name=&quot;Form1&quot; method=&quot;post&quot; action=&quot;WebForm6.aspx&quot; id=&quot;Form1&quot;&gt;<br>          &lt;input type=&quot;hidden&quot; name=&quot;__VIEWSTATE&quot; value=&quot;dDw3MzU1MTQ5MzY7Oz6nugrEg+5T6RC7MTIuLoIrMLQLPw==&quot; /&gt;<br>&lt;script&gt;function block(){}&lt;/script&gt;   ------------&gt;RegisterClientScriptBlock()方法输出的在这里<br><br><br>&lt;input name=&quot;TextBox1&quot; type=&quot;text&quot; id=&quot;TextBox1&quot; style=&quot;Z-INDEX: 101; LEFT: 296px; POSITION: absolute; TOP: 120px&quot; /&gt;<br><br>           &lt;script&gt;function startup(){}&lt;/script&gt; ------------&gt;RegisterStartupScript()方法输出的在这里<br><br>&lt;/form&gt;<br>&lt;/body&gt;<br>&lt;/HTML&gt; <br><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/it99kent/" target="_blank">Kent</a> 2007-09-22 15:17 <a href="http://www.cnblogs.com/it99kent/archive/2007/09/22/901956.html#902537#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: javascript setTimeout 和 setInterval </title><link>http://www.cnblogs.com/it99kent/archive/2007/09/22/901956.html#902518</link><dc:creator>Kent</dc:creator><author>Kent</author><pubDate>Sat, 22 Sep 2007 07:00:00 GMT</pubDate><guid>http://www.cnblogs.com/it99kent/archive/2007/09/22/901956.html#902518</guid><description><![CDATA[最后发现真凶手是这一段代码:<br> if (Request.Browser.Browser.ToUpper() == &quot;IE&quot; &amp;&amp; Request.Browser.Version == &quot;6.0&quot;)<br>        {<br>            string strStyle = string.Format(IE6CSS,<br>                this.DivFloat.ClientID, this.DivFloat.ClientID, this.DivFloat.ClientID);<br>            Page.ClientScript.RegisterStartupScript(this.GetType(), this.DivFloat.ClientID, strStyle.Replace(&quot;[&quot;, &quot;{&quot;).Replace(&quot;]&quot;, &quot;}&quot;));<br>            this.DivFloat.Attributes.Add(&quot;style&quot;, string.Format(STYLEIE6, ZIndex));<br>        }<br><br>    const string IE6CSS = &quot;&lt;style type=\&quot;text/css\&quot;&gt;\n&quot;<br>                            + &quot;*[margin:0;padding:0;margin-right:30]\n&quot;<br>                            + &quot;#{0}[position:fixed;top:5em;right:100;]\n&quot;<br>                            //+ &quot;html[overflow:auto;]\n&quot;<br>                            //+ &quot;body[overflow:auto]\n&quot;<br>                            + &quot;#{1}[position:absolute;right:17px;]\n&quot;<br>                            + &quot;#{2}[position:absolute;top:expression(eval(document.body.scrollTop + 50));]\n&quot;<br>                            + &quot;&lt;/style&gt;&quot;;<br>==================================================<br>解决办法：<br>把这个函数  Page.ClientScript.RegisterStartupScript(this.GetType(), this.DivFloat.ClientID, strStyle.Replace(&quot;[&quot;, &quot;{&quot;).Replace(&quot;]&quot;, &quot;}&quot;));<br>改为：  <br>Page.ClientScript.RegisterClientScriptBlock(this.GetType(), this.DivFloat.ClientID, strStyle.Replace(&quot;[&quot;, &quot;{&quot;).Replace(&quot;]&quot;, &quot;}&quot;));<br><br><br><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/it99kent/" target="_blank">Kent</a> 2007-09-22 15:00 <a href="http://www.cnblogs.com/it99kent/archive/2007/09/22/901956.html#902518#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 软件开发公司绩效考核管理[未登录]</title><link>http://www.cnblogs.com/it99kent/archive/2007/02/26/512304.html#656853</link><dc:creator>lei</dc:creator><author>lei</author><pubDate>Mon, 26 Feb 2007 02:31:00 GMT</pubDate><guid>http://www.cnblogs.com/it99kent/archive/2007/02/26/512304.html#656853</guid><description><![CDATA[没有<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/it99kent/" target="_blank">lei</a> 2007-02-26 10:31 <a href="http://www.cnblogs.com/it99kent/archive/2007/02/26/512304.html#656853#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>
