<?xml version="1.0" encoding="gb2312" ?><rss version="2.0"><channel><title>Weiseditor.com Blog Latest Articles</title><link>www.Weiseditor.com</link><description>Weiseditor.com Blog Latest Articles</description><language>zh-cn</language><copyright>Copyright (C) Weiseditor.com. All rights reserved.</copyright><generator>www.Weiseditor.com RSS Generator</generator><item><title><![CDATA[ MS SQL Server 2005在已有表上建分区 ]]></title><link>http://www.weiseditor.com/blog/Topic-47.aspx</link><description><![CDATA[ <p>如果表已经有索引了，要选删除掉索引index<br /><br />--建立分区函数testpartifunc<br /><br />--建立分区方案testscheme<br /><br /><br /><br />查询表的索引名名：<br /><br /><table style="border-right: #ddd 1px solid; border-top: #ddd 1px solid; float: left; border-left: #ddd 1px solid; width: 100%; border-bottom: #ddd 1px solid; border-collapse: collapse; height: auto" cellspacing="0" cellpadding="3" rules="all" border ]]></description><author>Weiseditor.COM</author><copyright>Weiseditor</copyright><pubDate>Fri, 30 Jul 2010 17:32:00 GMT</pubDate></item><item><title><![CDATA[ 简单易懂的MS sql 2005 表达式分区 ]]></title><link>http://www.weiseditor.com/blog/Topic-46.aspx</link><description><![CDATA[ <p>首先建立文件组：</p><br /><p><table style="border-right: #ddd 1px solid; border-top: #ddd 1px solid; float: left; border-left: #ddd 1px solid; width: 100%; border-bottom: #ddd 1px solid; border-collapse: collapse; height: auto" cellspacing="0" cellpadding="3" rules="all" border="1"><br /><tbody><br /><tr><br /><td style="font-weight: bold; background: #f3f3f3; text-align: left" align="left"><br />SQL</td><br /></tr><br /> ]]></description><author>Weiseditor.COM</author><copyright>Weiseditor</copyright><pubDate>Fri, 30 Jul 2010 17:32:00 GMT</pubDate></item><item><title><![CDATA[ Javascript摸拟自由落体与上抛运动 ]]></title><link>http://www.weiseditor.com/blog/Topic-45.aspx</link><description><![CDATA[ <p><table style="border-right: #ddd 1px solid; border-top: #ddd 1px solid; float: left; border-left: #ddd 1px solid; width: 100%; border-bottom: #ddd 1px solid; border-collapse: collapse; height: auto" cellspacing="0" cellpadding="3" rules="all" border="1"><br /><tbody><br /><tr><br /><td style="font-weight: bold; background: #f3f3f3; text-align: left" align="left"><br />XML/HTML</td><br /></tr><br /><tr><br /><td style="pad ]]></description><author>Weiseditor.COM</author><copyright>Weiseditor</copyright><pubDate>Fri, 30 Jul 2010 17:32:00 GMT</pubDate></item><item><title><![CDATA[ 简单易懂的C#委托与事件 ]]></title><link>http://www.weiseditor.com/blog/Topic-44.aspx</link><description><![CDATA[ <p>委托与事件就好比食堂有个厨师，做了很多道的菜，但是他不知道每个顾客要点什么菜。</p><br /><p>顾客是来吃厨师做的菜的，但每个的喜好不一样，有的要点A菜，有的要点B菜。</p><br /><p>厨师做的这些菜都放在一个菜架窗口里，顾客都可以看得见，当看到自己喜欢的菜时，就手指一下，或叫出菜的名子，让打菜员给你夹到盘子上。&nbsp;<br /><br /><br /><br />菜架窗口：Class <font color="#ff0000">Life</font> </p><br /><p>A菜，B菜，C菜：Method& ]]></description><author>Weiseditor.COM</author><copyright>Weiseditor</copyright><pubDate>Fri, 30 Jul 2010 17:32:00 GMT</pubDate></item><item><title><![CDATA[ Sql Server 2005 数据表分区优化数据库 ]]></title><link>http://www.weiseditor.com/blog/Topic-43.aspx</link><description><![CDATA[ <p>【IT专家网独家】您是不是也在苦苦寻求优化自己的SQL Server数据库的方法?假如您的数据库里有不少很大的表格，分区功能能够帮到您很大的忙，因为他能够把这些大表格分割成单独文档组。这个技术能够让您把数据分布在不同的物理磁盘中，并通过调节他们的并行性能来最优化您的查询性能。</p><br /><p>　　对SQL Server数据表进行分区的过程分为三个步骤：</p><br /><p>　　1)建立分区函数</p><br /><p>　　2)建立分区方案</p><br /><p>　　3)对表格 ]]></description><author>IT专家网独家</author><copyright>Weiseditor</copyright><pubDate>Fri, 30 Jul 2010 17:32:00 GMT</pubDate></item><item><title><![CDATA[ 用户单点登陆思路 ]]></title><link>http://www.weiseditor.com/blog/Topic-42.aspx</link><description><![CDATA[ <p>在数据库用户信息表里建一个字段：logSign (最后一次登陆的标志)</p><br /><p>用户每次登陆都随击生一个标志字符串，并保存进数据内.</p><br /><p>并写入缓存，每次登陆成功都要写入缓存.</p><br /><p>登陆成功后，保存三个Session: Session["UserID"], Session["username"], Session["logSign"];</p><br /><p>当同一个用户在另一个地方登陆时，他的logSign就会改变.</p><br /><p>我们再建立一个Ajax方法，并定期发送请求，各自的Session["logSign"] ]]></description><author>Weiseditor.COM</author><copyright>Weiseditor</copyright><pubDate>Fri, 30 Jul 2010 17:32:00 GMT</pubDate></item><item><title><![CDATA[ .net 服务器端跟客户端控件 ]]></title><link>http://www.weiseditor.com/blog/Topic-41.aspx</link><description><![CDATA[ <p>页面中有这样两个控件，都有Runat="server" :</p><br /><p>&lt;input type="hidden" name="hidTest" id="hidTest" value="ABC" runat="server"&nbsp;/&gt;<br /><br />&lt;asp:Label id="lblTest" runat="server" Text="ABC" /&gt;&nbsp;</p><br /><p>当页面加载来个 onload: 如下:<br /><br /><table style="border-right: #ddd 1px solid; border-top: #ddd 1px solid; float: left; border-left: #ddd 1px solid; width: 100%; border-bottom ]]></description><author>Weiseditor.COM</author><copyright>Weiseditor</copyright><pubDate>Fri, 30 Jul 2010 17:32:00 GMT</pubDate></item><item><title><![CDATA[ javascript 循环遇到的问题 ]]></title><link>http://www.weiseditor.com/blog/Topic-40.aspx</link><description><![CDATA[ <p>比如有这样一段HTML段:<br /><br /><table style="border-right: #ddd 1px solid; border-top: #ddd 1px solid; float: left; border-left: #ddd 1px solid; width: 100%; border-bottom: #ddd 1px solid; border-collapse: collapse; height: auto" cellspacing="0" cellpadding="3" rules="all" border="1"><br /><tbody><br /><tr><br /><td style="font-weight: bold; background: #f3f3f3; text-align: left" align="left"><br />XML/HTML</td> ]]></description><author>Weiseditor.COM</author><copyright>Weiseditor</copyright><pubDate>Fri, 30 Jul 2010 17:32:00 GMT</pubDate></item><item><title><![CDATA[ windows2003 sp2 IIS 下载 ]]></title><link>http://www.weiseditor.com/blog/Topic-39.aspx</link><description><![CDATA[ <p>安装windows2003 IIS6.0 (SP2版)</p><br /><p>最完整的安装包.</p><br /><p>请联系俺QQ: 345268267</p><br /><p>Site: <a href="http://www.weiseditor.com">http://www.weiseditor.com</a>&nbsp;&nbsp;</p> ]]></description><author>Weiseditor.COM</author><copyright>Weiseditor</copyright><pubDate>Fri, 30 Jul 2010 17:32:00 GMT</pubDate></item><item><title><![CDATA[ 安装vs2005，真累. ]]></title><link>http://www.weiseditor.com/blog/Topic-38.aspx</link><description><![CDATA[ <p style="text-indent: 2em">这两天在安装vs2005出了很多的问题.&nbsp;<br /><br />刚一装完，就去运行一个开源的项目，那项目可能是.net3.5开发的，用vs2005打开会发生错误，Baidu一下，发现是没装vs2005 Sp1的问题，一装SP1又有问题，说是什么文件未签名，又打开“运行”输入什么 Control去启用一个什么除管理员处的权限. 再重装SP1才装得上.</p><br /><p style="text-indent: 2em">再去运行那个项目，还是打不开，Baidu说，要把项目文件 ]]></description><author>Weiseditor.COM</author><copyright>Weiseditor</copyright><pubDate>Fri, 30 Jul 2010 17:32:00 GMT</pubDate></item><item><title><![CDATA[ 动态创建JSON节点 ]]></title><link>http://www.weiseditor.com/blog/Topic-37.aspx</link><description><![CDATA[ <p>比如说有这样的json段:</p><br /><p><table style="border-right: #ddd 1px solid; border-top: #ddd 1px solid; float: left; border-left: #ddd 1px solid; width: 100%; border-bottom: #ddd 1px solid; border-collapse: collapse; height: auto" cellspacing="0" cellpadding="3" rules="all" border="1"><br /><tbody><br /><tr><br /><td style="font-weight: bold; background: #f3f3f3; text-align: left" align="left"><br />JavaScript</ ]]></description><author>Weiseditor.COM</author><copyright>Weiseditor</copyright><pubDate>Fri, 30 Jul 2010 17:32:00 GMT</pubDate></item><item><title><![CDATA[ 新闻正文内容排版样式 ]]></title><link>http://www.weiseditor.com/blog/Topic-36.aspx</link><description><![CDATA[ <p>我们在显示一篇文章内容的时候，如果排版不好看起来会很乱，看了几行，就感觉看不下去了，不想再看了，这种用户体验很差，这样用户可能下次就不再来了，会流失大部分潜在的流量。</p><br /><p>&nbsp;事实上，看一篇文章，入眼的时候，要感觉不乱，首先要段落分明，其次行间距要适当，这样设置后，让用户大概会一个映像在心里，再认真读下去，就可以静下心来看完，这样都完美。</p><br /><p>根据这两天的研究跟调试总结一两句CSS出来，设 ]]></description><author>Weiseditor.COM</author><copyright>Weiseditor</copyright><pubDate>Fri, 30 Jul 2010 17:32:00 GMT</pubDate></item><item><title><![CDATA[ Weiseditor 在线文本编辑器讨论 ]]></title><link>http://www.weiseditor.com/blog/Topic-35.aspx</link><description><![CDATA[ <p>大家有啥关于Weiseditor的问题或建议</p><br /><p>就在这里讨论吧!</p><br /><p>我会尽力为大家解答的.</p><br /><p>谢谢各位的参与!&nbsp;</p> ]]></description><author>Weiseditor.COM</author><copyright>Weiseditor</copyright><pubDate>Fri, 30 Jul 2010 17:32:00 GMT</pubDate></item><item><title><![CDATA[ Access 数据操作类 C# ]]></title><link>http://www.weiseditor.com/blog/Topic-34.aspx</link><description><![CDATA[ <P><br /><TABLE style="BORDER-RIGHT: #ddd 1px solid; BORDER-TOP: #ddd 1px solid; FLOAT: left; BORDER-LEFT: #ddd 1px solid; WIDTH: 100%; BORDER-BOTTOM: #ddd 1px solid; BORDER-COLLAPSE: collapse; HEIGHT: auto" cellSpacing=0 cellPadding=3 rules=all border=1><br /><TBODY><br /><TR><br /><TD style="FONT-WEIGHT: bold; BACKGROUND: #f3f3f3; TEXT-ALIGN: left" align=left>C#</TD></TR><br /><TR><br /><TD style="PADDING-RIGHT: 4px; P ]]></description><author>Weiseditor.COM</author><copyright>Weiseditor</copyright><pubDate>Fri, 30 Jul 2010 17:32:00 GMT</pubDate></item><item><title><![CDATA[ IE下innerHTML,outerHTML所引起的问题 ]]></title><link>http://www.weiseditor.com/blog/Topic-33.aspx</link><description><![CDATA[ <p>我们在用javascript创建一个遮盖层(div)后，如果点击关闭用到了</p><br /><p>innerHTML或是outerHTML</p><br /><p>比如说：<br /><br /><table style="border-right: #ddd 1px solid; border-top: #ddd 1px solid; float: left; border-left: #ddd 1px solid; width: 100%; border-bottom: #ddd 1px solid; border-collapse: collapse; height: auto" cellspacing="0" cellpadding="3" rules="all" border="1"><br /><tbody><br /><tr><br /><td style=" ]]></description><author>Weiseditor.COM</author><copyright>Weiseditor</copyright><pubDate>Fri, 30 Jul 2010 17:32:00 GMT</pubDate></item><item><title><![CDATA[ 实现自定义Hashtable (.net) ]]></title><link>http://www.weiseditor.com/blog/Topic-32.aspx</link><description><![CDATA[ <P>需要两个类</P><br /><P>1．typeFiles.cs</P><br /><P><br /><TABLE style="BORDER-RIGHT: #ddd 1px solid; BORDER-TOP: #ddd 1px solid; FLOAT: left; BORDER-LEFT: #ddd 1px solid; WIDTH: 100%; BORDER-BOTTOM: #ddd 1px solid; BORDER-COLLAPSE: collapse; HEIGHT: auto" cellSpacing=0 cellPadding=3 rules=all border=1><br /><TBODY><br /><TR><br /><TD style="FONT-WEIGHT: bold; BACKGROUND: #f1f1f1" align=left>C#</TD></TR><br /><TR><br /><TD sty ]]></description><author>Weiseditor.COM</author><copyright>Weiseditor</copyright><pubDate>Fri, 30 Jul 2010 17:32:00 GMT</pubDate></item><item><title><![CDATA[ ajax跨域访问(cross-domain) ]]></title><link>http://www.weiseditor.com/blog/Topic-31.aspx</link><description><![CDATA[ <P>本地站：<A href="http://www.somedomain.com/"><FONT color=#765f47>http://www.somedomain.com</FONT></A></P><br /><P>目标站：<A href="http://bbs.somedomain.com/"><FONT color=#765f47>http://bbs.somedomain.com</FONT></A></P><br /><P>解决方法 :</P><br /><P><FONT color=#cc0000>1</FONT>. 在目标站 document.domain = 'somedomain.com';</P><br /><P>并建立一个ajax.html,引用ajax方法 (大家都叫它服务中介)</P><br /><P>然后创建一个a ]]></description><author>Weiseditor.COM</author><copyright>Weiseditor</copyright><pubDate>Fri, 30 Jul 2010 17:32:00 GMT</pubDate></item><item><title><![CDATA[ Firefox 下的 outerHTML ]]></title><link>http://www.weiseditor.com/blog/Topic-30.aspx</link><description><![CDATA[ <DIV class=articleContent id=articleBody><br /><P>假设要获取&nbsp;<WBR> &lt;p id="outerID"&gt;sdfdsdfsd&lt;/p&gt; 的 P的outerHTML</P><br /><P>代码：</P><br /><P>var _p = document.getElementById('outerID');</P><br /><P>_P = _P.cloneNode();</P><br /><P>var _DIV = document.createElement();</P><br /><P>_DIV.appendChild(_P);</P><br /><P>&nbsp;<WBR></P><br /><P>alert(_DIV.innerHTML); 就是P的outerHTML;</P></DIV><!--   --> ]]></description><author>Weiseditor.COM</author><copyright>Weiseditor</copyright><pubDate>Fri, 30 Jul 2010 17:32:00 GMT</pubDate></item><item><title><![CDATA[ 检测虚拟主机存放网站数 ]]></title><link>http://www.weiseditor.com/blog/Topic-28.aspx</link><description><![CDATA[ <DIV class=articleContent id=articleBody><br /><P>现在的很多企业网站甚至是一些行业性的网站，都采用虚拟主机做为网站运行的支持.</P><br /><P>一般都需要向空间提供商购买.</P><br /><P>&nbsp;<WBR></P><br /><P>由于利润的底下跟成本的提升，还有业务员的提成问题，所以一般一台虚拟主机上都会有很多个独立的网站，造成网站访问速度减慢，甚至访问不了，而且不稳定的情况.</P><br /><P>&nbsp;<WBR></P><br /><P>但是却骗用户说，主机上只存放十几个网 ]]></description><author>Weiseditor.COM</author><copyright>Weiseditor</copyright><pubDate>Fri, 30 Jul 2010 17:32:00 GMT</pubDate></item><item><title><![CDATA[ 服务器应用程序不可用 ]]></title><link>http://www.weiseditor.com/blog/Topic-27.aspx</link><description><![CDATA[ <DIV class=articleContent id=articleBody>1.首先開啟「命令窗口」，並切換目錄到 cd C:\Windows\Microsoft.Net\Framework\<BR>2.在命令行執行 "net stop w3svc" 終止 w3svc 服務<BR>3.切換到下层目錄 cd C:\Windows\Microsoft.Net\Framework\v2.0.50727\<BR>4.執行 "aspnet_regiis.exe -ua" 卸载 .Net<BR>5.重新安裝 .Net 到 IIS 中&nbsp;<WBR> 执行 "aspnet_regiis.exe -i"<BR>6.切換目錄到 cd C:\Windows\Microsoft.Net\Framew ]]></description><author>Weiseditor.COM</author><copyright>Weiseditor</copyright><pubDate>Fri, 30 Jul 2010 17:32:00 GMT</pubDate></item><item><title><![CDATA[ div+css图片文本底部对齐 ]]></title><link>http://www.weiseditor.com/blog/Topic-26.aspx</link><description><![CDATA[ <DIV class=articleContent id=articleBody><br /><P>div+css图片文本底部对齐</P><br /><P>&lt;div style="position:relative;width:150px;height:150px;float:left;"&gt;</P><br /><P>&nbsp;<WBR>&nbsp;<WBR>&nbsp;<WBR> &lt;span style="position:absolute;bottom:0;left:5px;width:100%"&gt;</P><br /><P>&nbsp;<WBR>&nbsp;<WBR>&nbsp;<WBR>&nbsp;<WBR>&nbsp;<WBR>&nbsp;<WBR>&nbsp;<WBR> &lt;img src="..." alt="" /&gt; &lt;br /&gt;</P><br /><P ]]></description><author>Weiseditor.COM</author><copyright>Weiseditor</copyright><pubDate>Fri, 30 Jul 2010 17:32:00 GMT</pubDate></item><item><title><![CDATA[ .NET 两时间相减的天数 ]]></title><link>http://www.weiseditor.com/blog/Topic-25.aspx</link><description><![CDATA[ 用TimeSpan.Days方法.<br /><P>&nbsp;<WBR>Dim d1 As String = "2008-9-10"<BR>&nbsp;<WBR>Dim d2 As String = "2007-9-30"</P><br /><P>&nbsp;<WBR>Dim c As TimeSpan = Convert.ToDateTime(d1) - Convert.ToDateTime(d2)</P><br /><P>&nbsp;<WBR>Response.Write(c.Days)</P><!--   --> ]]></description><author>Weiseditor.COM</author><copyright>Weiseditor</copyright><pubDate>Fri, 30 Jul 2010 17:32:00 GMT</pubDate></item><item><title><![CDATA[ .net 验证视图状态 MAC 失败。错误信息 ]]></title><link>http://www.weiseditor.com/blog/Topic-24.aspx</link><description><![CDATA[ <P>验证视图状态 MAC 失败。如果此应用程序由网络场或群集承载，请确保 &lt;machineKey&gt; 配置指定了相同的 validationKey 和验证算法。不能在群集中使用 AutoGenerate。</P><br /><P>&nbsp;<WBR></P><br /><P>可能的解决方法:</P><br /><P><SPAN style="BACKGROUND-COLOR: #ccffff"><FONT size=2><FONT face=Verdana><FONT style="BACKGROUND-COLOR: #ffffff">修改当前页面的@page属性，添加<FONT color=#ff0000>enableEventValidation</FON ]]></description><author>Weiseditor.COM</author><copyright>Weiseditor</copyright><pubDate>Fri, 30 Jul 2010 17:32:00 GMT</pubDate></item><item><title><![CDATA[ url重写，表单无法提交 ]]></title><link>http://www.weiseditor.com/blog/Topic-23.aspx</link><description><![CDATA[ <DIV class=articleContent id=articleBody><br /><P>1. 我们有时候用url重写来显示网页，这时可能这个重写的页URL跟原来的页面层级可能不一样，当这个页有需要提交的数据时，就会发生错误</P><br /><P>。这是我们可以在这个form区域的下面，也就是&lt;/form&gt;的下面，重新对form的action进行赋值（写入地址正确的url）.</P><br /><P>&lt;script type='text/javascript'&gt;<BR>window.onload = function()<BR>{<BR>&nbsp;<WBR>&nbsp;<WBR>&n ]]></description><author>Weiseditor.COM</author><copyright>Weiseditor</copyright><pubDate>Fri, 30 Jul 2010 17:32:00 GMT</pubDate></item><item><title><![CDATA[ .net2.0 缓存用法 ]]></title><link>http://www.weiseditor.com/blog/Topic-22.aspx</link><description><![CDATA[ <DIV class=articleContent id=articleBody><br /><P><FONT color=#6600ff>1. 应用程序缓存</FONT><BR>我们在做程序的时候，有时候要经常的读取一些不怎么会改变，<BR>不怎么会更新的内容 , 比如：用户资料信息</P><br /><P>这时候我们可以用缓存，把这些信息用某种Key的Cache保存在服务器端，<BR>当有用户要读取关于跟这个Key相关的信息时，用户就不用再去读数据据，<BR>直接从Cache读取，这样就可以减少数据库的读取次数，大大提高应用程 ]]></description><author>Weiseditor.COM</author><copyright>Weiseditor</copyright><pubDate>Fri, 30 Jul 2010 17:32:00 GMT</pubDate></item><item><title><![CDATA[ .Net2.0 未声明变量 “__o” 的错误 ]]></title><link>http://www.weiseditor.com/blog/Topic-21.aspx</link><description><![CDATA[ <P>HTML样例：</P><br /><P>&lt;div (.*)&gt; &lt;%=subString %&gt; &lt;/\1&gt;</P><br /><P>像这样的写法，在.Net2.0中，网页执行没错，</P><br /><P>&nbsp;<WBR></P><br /><P>但就是在.aspx(html页面)有错误：未声明变量 “__o” 错误信息.</P><br /><P>这样的错误信息，在发布生成网站，是无法生成网站的.</P><br /><P>&nbsp;<WBR></P><br /><P>解决方法：&lt;% Response.Write(subString) %&gt;</P> ]]></description><author>Weiseditor.COM</author><copyright>Weiseditor</copyright><pubDate>Fri, 30 Jul 2010 17:32:00 GMT</pubDate></item><item><title><![CDATA[ .net 下自定义 alert ]]></title><link>http://www.weiseditor.com/blog/Topic-20.aspx</link><description><![CDATA[ <DIV class=articleContent id=articleBody><br /><P>一般都是</P><br /><P>.net 1.1 Page.RegisterStartupScript(key,script);</P><br /><P>.net 2.0 ClientScript.RegisterStartupScript (Type,key,script);</P><br /><P>&nbsp;<WBR></P><br /><P>不管是哪个版式本的.</P><br /><P>当需要我们在页面加载时，加载多个RegisterStartupScript , key都不能是一样</P><br /><P>我们一般都是用DateTime.Now.Tostring, 但这样一般都会发生key一样重复，而使得某些项加 ]]></description><author>Weiseditor.COM</author><copyright>Weiseditor</copyright><pubDate>Fri, 30 Jul 2010 17:32:00 GMT</pubDate></item><item><title><![CDATA[ 本地配置二级域名,url静态重写 ]]></title><link>http://www.weiseditor.com/blog/Topic-19.aspx</link><description><![CDATA[ <DIV class=articleContent id=articleBody><br /><P>一：要在本地使用二级域名比如: xxx.163.com</P><br /><P>访问你本地上的网站，就像用<A href="http://localhost/"><FONT color=#765f47>http://localhost</FONT></A> 一样</P><br /><P>首选：（当然你本地得先安装有IIS）<BR>&nbsp;<WBR>打开IIS，右键“默认网站” - "属性" 弹出属性对话框<BR>&nbsp;<WBR>选择“主目录”标签</P><br /><P>&nbsp;<WBR>将“本地路径(C)”指向到你的本地网站所在 ]]></description><author>Weiseditor.COM</author><copyright>Weiseditor</copyright><pubDate>Fri, 30 Jul 2010 17:32:00 GMT</pubDate></item><item><title><![CDATA[ c# 中 '常数中有换行符' 错误 ]]></title><link>http://www.weiseditor.com/blog/Topic-18.aspx</link><description><![CDATA[ <DIV class=articleContent id=articleBody><br /><P>或者叫做 常量中有换行符</P><br /><P><BR>代码有时候编写在在前台.aspx页 跟 .cs页面不一样<BR>虽然是一样的代码.</P><br /><P>&nbsp;<WBR></P><br /><P>有时写在前台就会发生错误<BR>比如：Page.RegisterStartupScript (keystr,"&lt;script type='type/javascript'&gt;asfjsdlfjs&lt;/script&gt;");</P><br /><P>在.cs页面好好的没错，放到前台.aspx边就发生 '常数中有换行符'<BR>这时不管在单引号 ]]></description><author>Weiseditor.COM</author><copyright>Weiseditor</copyright><pubDate>Fri, 30 Jul 2010 17:32:00 GMT</pubDate></item><item><title><![CDATA[ 再谈firefox 、IE下 height 高度 ]]></title><link>http://www.weiseditor.com/blog/Topic-17.aspx</link><description><![CDATA[ <DIV class=articleContent id=articleBody><br /><P>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<A href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><FONT color=#765f47>http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</FONT></A>"&gt;<BR>&lt;html&gt;<BR>&nbsp;<WBR>&lt;head&gt;<BR>&nbsp;<WBR>&nbsp;<WBR>&lt;title&gt;Viewresume&lt;/title&gt;<BR>&nbsp;<WBR>&nbsp;<WB ]]></description><author>Weiseditor.COM</author><copyright>Weiseditor</copyright><pubDate>Fri, 30 Jul 2010 17:32:00 GMT</pubDate></item></channel></rss>