﻿<?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>博客园-Min.Dom</title><link>http://www.cnblogs.com/mindotnet/</link><description>专注C#</description><language>zh-cn</language><lastBuildDate>Sat, 04 Jul 2009 05:20:27 GMT</lastBuildDate><pubDate>Sat, 04 Jul 2009 05:20:27 GMT</pubDate><ttl>60</ttl><item><title>Page.LoadTemplate的使用</title><link>http://www.cnblogs.com/mindotnet/archive/2006/11/22/568311.html</link><dc:creator>min</dc:creator><author>min</author><pubDate>Wed, 22 Nov 2006 02:13:00 GMT</pubDate><guid>http://www.cnblogs.com/mindotnet/archive/2006/11/22/568311.html</guid><wfw:comment>http://www.cnblogs.com/mindotnet/comments/568311.html</wfw:comment><comments>http://www.cnblogs.com/mindotnet/archive/2006/11/22/568311.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/mindotnet/comments/commentRss/568311.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/mindotnet/services/trackbacks/568311.html</trackback:ping><description><![CDATA[<div style="FONT-SIZE: 10pt">最近为了在web页面上通过代码动态的显示一个列表（DataList），由于显示的item项比较复杂，所以使用了</div>
<div style="FONT-SIZE: 10pt">load模版的方法，新建一个usercontrol页面（.ascx），按平时模版列的做法，</div>
<div style="FONT-SIZE: 10pt">在其html中加入&lt;%# DataBinder.Eval(Container.DataItem, "displayname") %&gt;，结果执行的时候</div>
<div style="FONT-SIZE: 10pt">出现异常：<font face=Arial>&#8220;System.Web.UI.Control&#8221;并不包含对&#8220;DataItem&#8221;的定义</font>。</div>
<div style="FONT-SIZE: 10pt">看来加载模版和平时直接写在页面上还是有区别的，google了一下，发现有用VB写的，将Container转换成</div>
<div style="FONT-SIZE: 10pt">DataListItem，于是将上面的脚本<font color=#000000>改成<font style="BACKGROUND-COLOR: #ffffff">&lt;%</font></font># DataBinder.Eval(((DataListItem)Container).DataItem, "displayname") %&gt;</div>
<div style="FONT-SIZE: 10pt">就没问题了。<br><br></div>
<img src ="http://www.cnblogs.com/mindotnet/aggbug/568311.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47970/" target="_blank">19岁天才黑客发布首个iPhone 3GS破解软件</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>公司竟然禁止访问此网站</title><link>http://www.cnblogs.com/mindotnet/archive/2005/07/10/189703.html</link><dc:creator>min</dc:creator><author>min</author><pubDate>Sun, 10 Jul 2005 02:21:00 GMT</pubDate><guid>http://www.cnblogs.com/mindotnet/archive/2005/07/10/189703.html</guid><wfw:comment>http://www.cnblogs.com/mindotnet/comments/189703.html</wfw:comment><comments>http://www.cnblogs.com/mindotnet/archive/2005/07/10/189703.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://www.cnblogs.com/mindotnet/comments/commentRss/189703.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/mindotnet/services/trackbacks/189703.html</trackback:ping><description><![CDATA[<SPAN style="FONT-SIZE: 10pt">着实让人有些不爽,几次提交希望免费开通,竟然被拒绝!<IMG height=20 src="http://www.cnblogs.com/Emoticons/QQ/12.gif" width=20 border=0></SPAN><img src ="http://www.cnblogs.com/mindotnet/aggbug/189703.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47969/" target="_blank">新浪邮箱大本营粉墨登场！Sina.cn开放注册</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>javascript 中的replace方法</title><link>http://www.cnblogs.com/mindotnet/archive/2004/12/16/77980.html</link><dc:creator>min</dc:creator><author>min</author><pubDate>Thu, 16 Dec 2004 08:20:00 GMT</pubDate><guid>http://www.cnblogs.com/mindotnet/archive/2004/12/16/77980.html</guid><wfw:comment>http://www.cnblogs.com/mindotnet/comments/77980.html</wfw:comment><comments>http://www.cnblogs.com/mindotnet/archive/2004/12/16/77980.html#Feedback</comments><slash:comments>8</slash:comments><wfw:commentRss>http://www.cnblogs.com/mindotnet/comments/commentRss/77980.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/mindotnet/services/trackbacks/77980.html</trackback:ping><description><![CDATA[<p>第一次发现javascript中replace() 方法如果直接用str.replace(&quot;-&quot;,&quot;!&quot;) 只会替换第一个匹配的字符. 
<br/>
<br/>
</p>
<div style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid">
   <div><img height="16" src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" width="11" align="top" /><span style="COLOR: #000000">replace() 
<br/><img height="16" src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" width="11" align="top" />The&#160;replace()&#160;method&#160;returns&#160;the&#160;string&#160;that&#160;results&#160;when&#160;you&#160;replace&#160;text&#160;matching&#160;its&#160;first&#160;argument
<br/>&#160;&#160; (a&#160;regular&#160;expression)&#160;</span><span style="COLOR: #0000ff">with</span><span style="COLOR: #000000">&#160;the&#160;text&#160;of&#160;the&#160;second&#160;argument&#160;(a&#160;string).&#160;
<br/>&#160;&#160; If&#160;the&#160;g&#160;(global)&#160;flag&#160;is&#160;not&#160;set&#160;</span><span style="COLOR: #0000ff">in</span><span style="COLOR: #000000">&#160;the&#160;regular&#160;expression&#160;declaration,&#160;</span><span style="COLOR: #0000ff">this</span><span style="COLOR: #000000">&#160;method&#160;replaces&#160;only&#160;the&#160;first&#160;
<br/>&#160;&#160;&#160;occurrence&#160;of&#160;the&#160;pattern.&#160;For&#160;example, 
<br/><img height="16" src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" width="11" align="top" /></span><span style="COLOR: #0000ff">var</span><span style="COLOR: #000000">&#160;s&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">Hello.&#160;Regexps&#160;are&#160;fun.</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">;s&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;s.replace(</span><span style="COLOR: #000000">/</span><span style="COLOR: #000000">\.</span><span style="COLOR: #000000">/</span><span style="COLOR: #000000">,&#160;</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">!</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">);&#160;</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">&#160;replace&#160;first&#160;period&#160;with&#160;an&#160;exclamation&#160;pointalert(s);</span><span style="COLOR: #008000"> 
<br/><img height="16" src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" width="11" align="top" /></span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" width="11" align="top" />produces&#160;the&#160;string&#160;&#8220;Hello</span><span style="COLOR: #000000">!</span><span style="COLOR: #000000">&#160;Regexps&#160;are&#160;fun.&#8221;&#160;Including&#160;the&#160;g&#160;flag&#160;will&#160;cause&#160;the&#160;interpreter&#160;to
<br/>&#160;&#160;&#160;perform&#160;a&#160;global&#160;replace,&#160;finding&#160;and&#160;replacing&#160;every&#160;matching&#160;substring.&#160;For&#160;example, 
<br/><img height="16" src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" width="11" align="top" /></span><span style="COLOR: #0000ff">var</span><span style="COLOR: #000000">&#160;s&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">Hello.&#160;Regexps&#160;are&#160;fun.</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">;s&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;s.replace(</span><span style="COLOR: #000000">/</span><span style="COLOR: #000000">\.</span><span style="COLOR: #000000">/</span><span style="COLOR: #000000">g,&#160;</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">!</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">);&#160;</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">&#160;replace&#160;all&#160;periods&#160;with&#160;exclamation&#160;pointsalert(s);</span><span style="COLOR: #008000"> 
<br/><img height="16" src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" width="11" align="top" /></span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" width="11" align="top" />yields&#160;</span><span style="COLOR: #0000ff">this</span><span style="COLOR: #000000">&#160;result:&#160;&#8220;Hello</span><span style="COLOR: #000000">!</span><span style="COLOR: #000000">&#160;Regexps&#160;are&#160;fun</span><span style="COLOR: #000000">!</span><span style="COLOR: #000000">&#8221; 
<br/><img height="16" src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" width="11" align="top" /></span> 
   </div>
</div>
<p class="para"><font color="#000000" style="BACKGROUND-COLOR: #ffffff"></font>
</p><img src ="http://www.cnblogs.com/mindotnet/aggbug/77980.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47968/" target="_blank">IE市场份额首次跌破60%</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>media play10</title><link>http://www.cnblogs.com/mindotnet/archive/2004/11/02/59638.html</link><dc:creator>min</dc:creator><author>min</author><pubDate>Tue, 02 Nov 2004 06:46:00 GMT</pubDate><guid>http://www.cnblogs.com/mindotnet/archive/2004/11/02/59638.html</guid><wfw:comment>http://www.cnblogs.com/mindotnet/comments/59638.html</wfw:comment><comments>http://www.cnblogs.com/mindotnet/archive/2004/11/02/59638.html#Feedback</comments><slash:comments>20</slash:comments><wfw:commentRss>http://www.cnblogs.com/mindotnet/comments/commentRss/59638.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/mindotnet/services/trackbacks/59638.html</trackback:ping><description><![CDATA[<P>刚把我的media play升级到media play10，觉得比以前的版本都好使，<br/>以前总觉得媒体库不好用，现在感觉好多了。增加了个<STRONG>在线商店</STRONG>功能。<br/><br/>microsoft的界面总是看的那么爽。可惜的是只能在windows xp下运行。 
</P>
<P>有个splat模式看着比较爽，其小视图的效果如下：<br/><IMG src="http://www.cnblogs.com/images/cnblogs_com/mindotnet/ml.JPG"/> 
</P>
<P></P><img src ="http://www.cnblogs.com/mindotnet/aggbug/59638.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47965/" target="_blank">Google App Engine宕机6小时——云的安全在哪里？</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>制作windows service的安装程序</title><link>http://www.cnblogs.com/mindotnet/archive/2004/10/14/52078.html</link><dc:creator>min</dc:creator><author>min</author><pubDate>Thu, 14 Oct 2004 03:02:00 GMT</pubDate><guid>http://www.cnblogs.com/mindotnet/archive/2004/10/14/52078.html</guid><wfw:comment>http://www.cnblogs.com/mindotnet/comments/52078.html</wfw:comment><comments>http://www.cnblogs.com/mindotnet/archive/2004/10/14/52078.html#Feedback</comments><slash:comments>12</slash:comments><wfw:commentRss>http://www.cnblogs.com/mindotnet/comments/commentRss/52078.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/mindotnet/services/trackbacks/52078.html</trackback:ping><description><![CDATA[<P><FONT size=2>这段时间一直在写windows service，每次写完调试都是在控制台输入命令进行安装/启动/卸载，<BR>虽然工作量不大，但时间长了也觉得麻烦。于是用.net做了个windows service的安装。<BR><BR>首先在解决方案中创建一个安装部署的项目，右键点击项目名称，在菜单中选择[添加]--&gt;[项目输出],<BR>在弹出的"添加项目输出组"窗口中,第一个下拉框会列出该解决方案中其他的项目,<BR>选择需要制作安装的windows service项目,再选择主输出,点[确定]。如图：<BR><IMG height=381 src="http://www.cnblogs.com/images/cnblogs_com/mindotnet/1.JPG" width=323 border=0><BR>本以为这样就可以的，但是安装完后，windows service并没有安装成服务。<BR>还必须在安装项目中添加自定义操作。右击安装项目-&gt;视图-&gt;自定义操作.<BR>如下图:分别添加自定义操作,在应用程序文件夹中选择刚才添加的主输出即可.</FONT></P>
<P><IMG height=214 src="http://www.cnblogs.com/images/cnblogs_com/mindotnet/2.JPG" width=279 border=0></P><img src ="http://www.cnblogs.com/mindotnet/aggbug/52078.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47961/" target="_blank">微软新推社交网站Windows Live Planet</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>Session state cannot be used in ASP.NET with Windows SharePoint Services</title><link>http://www.cnblogs.com/mindotnet/archive/2004/07/02/20624.html</link><dc:creator>min</dc:creator><author>min</author><pubDate>Fri, 02 Jul 2004 10:25:00 GMT</pubDate><guid>http://www.cnblogs.com/mindotnet/archive/2004/07/02/20624.html</guid><wfw:comment>http://www.cnblogs.com/mindotnet/comments/20624.html</wfw:comment><comments>http://www.cnblogs.com/mindotnet/archive/2004/07/02/20624.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.cnblogs.com/mindotnet/comments/commentRss/20624.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/mindotnet/services/trackbacks/20624.html</trackback:ping><description><![CDATA[<P><BR>Add the following directives in the Web.config file of the Web application between the &lt;system.web&gt; tag and the &lt;/system.web&gt; tag: </P><PRE><DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 0in; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 80%; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 0.5pt solid"><DIV><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #008000">&lt;!--</SPAN><SPAN style="COLOR: #008000">&nbsp;<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>Clear&nbsp;out&nbsp;the&nbsp;WSS&nbsp;ASP.NET&nbsp;handler&nbsp;and&nbsp;specify&nbsp;the&nbsp;default&nbsp;ASP.NET&nbsp;handler&nbsp;for&nbsp;all&nbsp;pages.&nbsp;<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #008000">--&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">httpHandlers</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">clear&nbsp;</SPAN><SPAN style="COLOR: #0000ff">/&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">add&nbsp;</SPAN><SPAN style="COLOR: #ff0000">verb</SPAN><SPAN style="COLOR: #0000ff">="*"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;path</SPAN><SPAN style="COLOR: #0000ff">="*.aspx"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;type</SPAN><SPAN style="COLOR: #0000ff">="System.Web.UI.PageHandlerFactory,&nbsp;System.Web,&nbsp;<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>Version=1.0.5000.0,&nbsp;Culture=neutral,&nbsp;PublicKeyToken=b03f5f7f11d50a3a"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">/&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">httpHandlers</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #008000">&lt;!--</SPAN><SPAN style="COLOR: #008000">&nbsp;<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>Set&nbsp;the&nbsp;trust&nbsp;to&nbsp;Full.&nbsp;WSS&nbsp;configures&nbsp;a&nbsp;very&nbsp;restrictive&nbsp;trust&nbsp;policy&nbsp;that&nbsp;does&nbsp;not&nbsp;<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>allow&nbsp;ASP.NET&nbsp;Web&nbsp;application&nbsp;to&nbsp;run&nbsp;correctly.<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #008000">--&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">trust&nbsp;</SPAN><SPAN style="COLOR: #ff0000">level</SPAN><SPAN style="COLOR: #0000ff">="Full"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;originUrl</SPAN><SPAN style="COLOR: #0000ff">=""</SPAN><SPAN style="COLOR: #ff0000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">/&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #008000">&lt;!--</SPAN><SPAN style="COLOR: #008000">&nbsp;<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>Enable&nbsp;the&nbsp;session&nbsp;module.&nbsp;This&nbsp;can&nbsp;also&nbsp;be&nbsp;enabled&nbsp;on&nbsp;the&nbsp;WSS&nbsp;Web.config,&nbsp;<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>but&nbsp;is&nbsp;not&nbsp;enabled&nbsp;by&nbsp;default.&nbsp;If&nbsp;you&nbsp;receive&nbsp;the&nbsp;following&nbsp;message:<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>Parser&nbsp;Error&nbsp;Message:&nbsp;The&nbsp;module&nbsp;'Session'&nbsp;is&nbsp;already&nbsp;in&nbsp;the&nbsp;application&nbsp;<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>and&nbsp;cannot&nbsp;be&nbsp;added&nbsp;again.&nbsp;You&nbsp;can&nbsp;remove&nbsp;the&nbsp;following&nbsp;<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&lt;httpModules&gt;&lt;/httpModules&gt;&nbsp;section&nbsp;as&nbsp;session&nbsp;is&nbsp;already&nbsp;enabled&nbsp;<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>on&nbsp;the&nbsp;virtual&nbsp;server.&nbsp;<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #008000">--&gt;</SPAN><SPAN style="COLOR: #000000">&nbsp;<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">httpModules</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">add&nbsp;</SPAN><SPAN style="COLOR: #ff0000">name</SPAN><SPAN style="COLOR: #0000ff">="Session"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;type</SPAN><SPAN style="COLOR: #0000ff">="System.Web.SessionState.SessionStateModule"</SPAN><SPAN style="COLOR: #0000ff">/&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">httpModules</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000">&nbsp;<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #008000">&lt;!--</SPAN><SPAN style="COLOR: #008000">&nbsp;Enable&nbsp;session&nbsp;state&nbsp;for&nbsp;all&nbsp;the&nbsp;pages&nbsp;in&nbsp;the&nbsp;Web&nbsp;application.&nbsp;</SPAN><SPAN style="COLOR: #008000">--&gt;</SPAN><SPAN style="COLOR: #000000">&nbsp;<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">pages&nbsp;</SPAN><SPAN style="COLOR: #ff0000">enableSessionState</SPAN><SPAN style="COLOR: #0000ff">="true"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;enableViewState</SPAN><SPAN style="COLOR: #0000ff">="true"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>enableViewStateMac</SPAN><SPAN style="COLOR: #0000ff">="true"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;validateRequest</SPAN><SPAN style="COLOR: #0000ff">="false"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">/&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN></DIV></DIV></PRE>
<P><A id=OriginalArticleHyperLink href="http://www.kbalertz.com/Feedback_837376.aspx" target=_blank><FONT color=#002c99>The original article .</FONT></A></P><img src ="http://www.cnblogs.com/mindotnet/aggbug/20624.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47960/" target="_blank">火狐3.5版被指推出太匆忙：存在50多个漏洞</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>A VS.NET add-in to know the content of the any dataset during debugging</title><link>http://www.cnblogs.com/mindotnet/archive/2004/06/10/14819.html</link><dc:creator>min</dc:creator><author>min</author><pubDate>Thu, 10 Jun 2004 08:40:00 GMT</pubDate><guid>http://www.cnblogs.com/mindotnet/archive/2004/06/10/14819.html</guid><wfw:comment>http://www.cnblogs.com/mindotnet/comments/14819.html</wfw:comment><comments>http://www.cnblogs.com/mindotnet/archive/2004/06/10/14819.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/mindotnet/comments/commentRss/14819.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/mindotnet/services/trackbacks/14819.html</trackback:ping><description><![CDATA[<STRONG><FONT size=5>Special QuickWatch for a DataSet<BR></FONT>By </STRONG><A href="http://www.codeproject.com/script/profile/whos_who.asp?id=753325"><STRONG>mohammed barqawi</STRONG></A><STRONG> <BR></STRONG><IMG height=241 src="http://www.cnblogs.com/images/cnblogs_com/mindotnet/Article.gif" width=498 border=0><BR><FONT size=2>I think it's very useful....<BR><BR>Detail info: <A href="http://www.codeproject.com/csharp/DSWatch.asp">here</A></FONT><img src ="http://www.cnblogs.com/mindotnet/aggbug/14819.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47959/" target="_blank">Google对手机搜索进行优化升级</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>web based sql admin tool - Shusheng SQL Tool v1.0</title><link>http://www.cnblogs.com/mindotnet/archive/2004/06/02/12908.html</link><dc:creator>min</dc:creator><author>min</author><pubDate>Wed, 02 Jun 2004 03:35:00 GMT</pubDate><guid>http://www.cnblogs.com/mindotnet/archive/2004/06/02/12908.html</guid><wfw:comment>http://www.cnblogs.com/mindotnet/comments/12908.html</wfw:comment><comments>http://www.cnblogs.com/mindotnet/archive/2004/06/02/12908.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/mindotnet/comments/commentRss/12908.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/mindotnet/services/trackbacks/12908.html</trackback:ping><description><![CDATA[<FONT face=Arial size=2>web-based MS SQL Server(MSDE)2000 client tool, query analyzer and dba utility to design, create, query, backup, manage and monitor database from a web browser. Pure ASP script, no installation needed. Freeware for Educational and Personal usage. <BR><IMG height=432 src="http://www.cnblogs.com/images/cnblogs_com/mindotnet/dbp.jpg" width=494 border=0><BR>...</FONT> nice tool :-)<BR><FONT face=Arial size=2><A href="http://www.softviewer.com/download_detail.php?softid=5831">DownLoad url</A></FONT><img src ="http://www.cnblogs.com/mindotnet/aggbug/12908.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47958/" target="_blank">风声又起 Windows 7 RTM版7月13日完成</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>Make Modal Forms</title><link>http://www.cnblogs.com/mindotnet/archive/2004/05/26/11563.html</link><dc:creator>min</dc:creator><author>min</author><pubDate>Wed, 26 May 2004 09:19:00 GMT</pubDate><guid>http://www.cnblogs.com/mindotnet/archive/2004/05/26/11563.html</guid><wfw:comment>http://www.cnblogs.com/mindotnet/comments/11563.html</wfw:comment><comments>http://www.cnblogs.com/mindotnet/archive/2004/05/26/11563.html#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://www.cnblogs.com/mindotnet/comments/commentRss/11563.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/mindotnet/services/trackbacks/11563.html</trackback:ping><description><![CDATA[<P><FONT size=2>一直想用模式窗口来打开.aspx页面,但是只要是执行服务器端的事件就会有问题.前些天从codeproject里看到篇文章,才发现解决办法:<BR>Ever try to create a pop-up in ASP.NET. but ASP.NET 1.0 and 1.1 didn&#8217;t come with a mechanism to support the concept of modal forms. In fact, many internet browsers lack built-in support for the concept of modal forms.<BR><IMG height=584 src="http://www.cnblogs.com/images/cnblogs_com/mindotnet/ThoseCrazyPopups.gif" width=554 border=0><BR><STRONG>Solution 1, Base:</STRONG></FONT></P>
<P><FONT size=2>The modal form in IE is a little unusual. One way to overcome this weirdness involves placing the following statement in the header of the intended modal form:<BR></FONT><FONT size=2><FONT style="BACKGROUND-COLOR: #ffa500">&lt;base target=&#8221;_self&#8221;&gt;<BR></FONT></FONT><FONT size=2><STRONG>Solution 2, Smart Navigation:<BR></STRONG>in Page_Load event:<BR></FONT><FONT size=2><FONT style="BACKGROUND-COLOR: #ffa500">Response.Cache.SetNoServerCaching();<BR>Response.Cache.SetCacheability(System.Web.HttpCacheability.NoCache);<BR>Response.Cache.SetNoStore();<BR>Response.Cache.SetExpires(<SPAN class=cpp-keyword>new</SPAN> DateTime(<SPAN class=cpp-literal>1900</SPAN>,<SPAN class=cpp-literal>01</SPAN>,<SPAN class=cpp-literal>01</SPAN>,<SPAN class=cpp-literal>00</SPAN>,<SPAN class=cpp-literal>00</SPAN>,<SPAN class=cpp-literal>00</SPAN>,<SPAN class=cpp-literal>00</SPAN>));</FONT><BR></FONT></P><PRE><P><FONT size=2>There are variations to this, but I tried to stick with ASP.NET code . <BR><BR><HR id=null><BR>详细信息请进<A href="http://www.codeproject.com/aspnet/ThoseCrazyPopups.asp">http://www.codeproject.com/aspnet/ThoseCrazyPopups.asp</A></FONT><P></P></PRE><img src ="http://www.cnblogs.com/mindotnet/aggbug/11563.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47957/" target="_blank">乔布斯和埃利森</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item></channel></rss>