<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>cafe.wh的部落格</title>
	<atom:link href="http://www.whpotter.net/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.whpotter.net</link>
	<description>一个新的开始</description>
	<lastBuildDate>Sat, 24 Jul 2010 18:50:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>密码保护：宝贝啊宝贝</title>
		<link>http://www.whpotter.net/?p=432</link>
		<comments>http://www.whpotter.net/?p=432#comments</comments>
		<pubDate>Sat, 24 Jul 2010 18:50:44 +0000</pubDate>
		<dc:creator>cafe.wh</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[毛毛]]></category>

		<guid isPermaLink="false">http://www.whpotter.net/?p=432</guid>
		<description><![CDATA[无法提供摘要。这是一篇受保护的文章。]]></description>
			<content:encoded><![CDATA[<form action="http://www.whpotter.net/wordpress/wp-pass.php" method="post">
<p>这是一篇受密码保护的文章。您需要提供访问密码：</p>
<p><label for="pwbox-432">密码：<br />
<input name="post_password" id="pwbox-432" type="password" size="20" /></label><br />
<input type="submit" name="Submit" value="提交" /></p></form>
]]></content:encoded>
			<wfw:commentRss>http://www.whpotter.net/?feed=rss2&amp;p=432</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>密码保护：爱很扯蛋</title>
		<link>http://www.whpotter.net/?p=422</link>
		<comments>http://www.whpotter.net/?p=422#comments</comments>
		<pubDate>Sun, 04 Jul 2010 14:55:31 +0000</pubDate>
		<dc:creator>cafe.wh</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[毛毛]]></category>

		<guid isPermaLink="false">http://www.whpotter.net/?p=422</guid>
		<description><![CDATA[无法提供摘要。这是一篇受保护的文章。]]></description>
			<content:encoded><![CDATA[<form action="http://www.whpotter.net/wordpress/wp-pass.php" method="post">
<p>这是一篇受密码保护的文章。您需要提供访问密码：</p>
<p><label for="pwbox-422">密码：<br />
<input name="post_password" id="pwbox-422" type="password" size="20" /></label><br />
<input type="submit" name="Submit" value="提交" /></p></form>
]]></content:encoded>
			<wfw:commentRss>http://www.whpotter.net/?feed=rss2&amp;p=422</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASPxGridView数据新增及编辑不同列设置</title>
		<link>http://www.whpotter.net/?p=417</link>
		<comments>http://www.whpotter.net/?p=417#comments</comments>
		<pubDate>Tue, 29 Jun 2010 03:02:27 +0000</pubDate>
		<dc:creator>cafe.wh</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[ASPxGridView]]></category>

		<guid isPermaLink="false">http://www.whpotter.net/?p=417</guid>
		<description><![CDATA[<p>在ASPxGridView中，新增和编辑数据调用的都是同一个EditForm，但实际使用中经常遇到新增数据的列与可编辑的列不同。解决方案如下。</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p417code1'); return false;">View Code</a> C</span><div class="codebox_clear"></div></div><div class="wp_codebox">    protected <span style="color: #993333;">void</span> ASPxGridView1_InitNewRow<span style="color: #009900;">&#40;</span>object sender<span style="color: #339933;">,</span> DevExpress.<span style="color: #202020;">Web</span>.<span style="color: #202020;">Data</span>.<span style="color: #202020;">ASPxDataInitNewRowEventArgs</span> e<span style="color: #009900;">&#41;</span>
&#160;
    <span style="color: #009900;">&#123;</span>
&#160;
        <span style="color: #666666; font-style: italic;">//贷款类型</span>
&#160;
        GridViewDataComboBoxColumn gdc_DKLX <span style="color: #339933;">=</span> ASPx[......]</div><p class='read-more'><a href='http://www.whpotter.net/?p=417'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p>在ASPxGridView中，新增和编辑数据调用的都是同一个EditForm，但实际使用中经常遇到新增数据的列与可编辑的列不同。解决方案如下。</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p417code3'); return false;">View Code</a> C</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p4173"><td class="code" id="p417code3"><pre class="c" style="font-family:monospace;">    protected <span style="color: #993333;">void</span> ASPxGridView1_InitNewRow<span style="color: #009900;">&#40;</span>object sender<span style="color: #339933;">,</span> DevExpress.<span style="color: #202020;">Web</span>.<span style="color: #202020;">Data</span>.<span style="color: #202020;">ASPxDataInitNewRowEventArgs</span> e<span style="color: #009900;">&#41;</span>
&nbsp;
    <span style="color: #009900;">&#123;</span>
&nbsp;
        <span style="color: #666666; font-style: italic;">//贷款类型</span>
&nbsp;
        GridViewDataComboBoxColumn gdc_DKLX <span style="color: #339933;">=</span> ASPxGridView1.<span style="color: #202020;">Columns</span><span style="color: #009900;">&#91;</span><span style="color: #ff0000;">&quot;DKLX&quot;</span><span style="color: #009900;">&#93;</span> as GridViewDataComboBoxColumn<span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #666666; font-style: italic;">//录入人</span>
&nbsp;
        GridViewDataTextColumn gdc_LRR <span style="color: #339933;">=</span> ASPxGridView1.<span style="color: #202020;">Columns</span><span style="color: #009900;">&#91;</span><span style="color: #ff0000;">&quot;LRR&quot;</span><span style="color: #009900;">&#93;</span> as GridViewDataTextColumn<span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #666666; font-style: italic;">//录入时间</span>
&nbsp;
        GridViewDataTextColumn gdc_LRSJ <span style="color: #339933;">=</span> ASPxGridView1.<span style="color: #202020;">Columns</span><span style="color: #009900;">&#91;</span><span style="color: #ff0000;">&quot;LRSJ&quot;</span><span style="color: #009900;">&#93;</span> as GridViewDataTextColumn<span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>ASPxGridView1.<span style="color: #202020;">IsNewRowEditing</span><span style="color: #009900;">&#41;</span>
&nbsp;
        <span style="color: #009900;">&#123;</span>
&nbsp;
            <span style="color: #666666; font-style: italic;">//贷款类型</span>
&nbsp;
            gdc_DKLX.<span style="color: #202020;">EditFormSettings</span>.<span style="color: #202020;">Visible</span> <span style="color: #339933;">=</span>DevExpress.<span style="color: #202020;">Web</span>.<span style="color: #202020;">ASPxClasses</span>.<span style="color: #202020;">DefaultBoolean</span>.<span style="color: #202020;">True</span><span style="color: #339933;">;</span>
&nbsp;
            <span style="color: #666666; font-style: italic;">//录入人</span>
&nbsp;
            gdc_LRR.<span style="color: #202020;">EditFormSettings</span>.<span style="color: #202020;">Visible</span> <span style="color: #339933;">=</span> DevExpress.<span style="color: #202020;">Web</span>.<span style="color: #202020;">ASPxClasses</span>.<span style="color: #202020;">DefaultBoolean</span>. <span style="color: #202020;">True</span><span style="color: #339933;">;</span>
&nbsp;
            <span style="color: #666666; font-style: italic;">//录入时间</span>
&nbsp;
            gdc_LRSJ.<span style="color: #202020;">EditFormSettings</span>.<span style="color: #202020;">Visible</span> <span style="color: #339933;">=</span> DevExpress.<span style="color: #202020;">Web</span>.<span style="color: #202020;">ASPxClasses</span>.<span style="color: #202020;">DefaultBoolean</span>. <span style="color: #202020;">True</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>


<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p417code4'); return false;">View Code</a> C</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p4174"><td class="code" id="p417code4"><pre class="c" style="font-family:monospace;">    protected <span style="color: #993333;">void</span> ASPxGridView1_StartRowEditing<span style="color: #009900;">&#40;</span>object sender<span style="color: #339933;">,</span> DevExpress.<span style="color: #202020;">Web</span>.<span style="color: #202020;">Data</span>.<span style="color: #202020;">ASPxStartRowEditingEventArgs</span> e<span style="color: #009900;">&#41;</span>
&nbsp;
    <span style="color: #009900;">&#123;</span>
&nbsp;
        <span style="color: #666666; font-style: italic;">//贷款类型</span>
&nbsp;
        GridViewDataComboBoxColumn gdc_DKLX <span style="color: #339933;">=</span> ASPxGridView1.<span style="color: #202020;">Columns</span><span style="color: #009900;">&#91;</span><span style="color: #ff0000;">&quot;DKLX&quot;</span><span style="color: #009900;">&#93;</span> as GridViewDataComboBoxColumn<span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #666666; font-style: italic;">//录入人</span>
&nbsp;
        GridViewDataTextColumn gdc_LRR <span style="color: #339933;">=</span> ASPxGridView1.<span style="color: #202020;">Columns</span><span style="color: #009900;">&#91;</span><span style="color: #ff0000;">&quot;LRR&quot;</span><span style="color: #009900;">&#93;</span> as GridViewDataTextColumn<span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #666666; font-style: italic;">//录入时间</span>
&nbsp;
        GridViewDataTextColumn gdc_LRSJ <span style="color: #339933;">=</span> ASPxGridView1.<span style="color: #202020;">Columns</span><span style="color: #009900;">&#91;</span><span style="color: #ff0000;">&quot;LRSJ&quot;</span><span style="color: #009900;">&#93;</span> as GridViewDataTextColumn<span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>ASPxGridView1.<span style="color: #202020;">IsNewRowEditing</span><span style="color: #009900;">&#41;</span>
&nbsp;
        <span style="color: #009900;">&#123;</span>
&nbsp;
            <span style="color: #666666; font-style: italic;">//贷款类型</span>
&nbsp;
            gdc_DKLX.<span style="color: #202020;">EditFormSettings</span>.<span style="color: #202020;">Visible</span> <span style="color: #339933;">=</span> DevExpress.<span style="color: #202020;">Web</span>.<span style="color: #202020;">ASPxClasses</span>.<span style="color: #202020;">DefaultBoolean</span>. <span style="color: #202020;">True</span><span style="color: #339933;">;</span>
&nbsp;
            <span style="color: #666666; font-style: italic;">//录入人</span>
&nbsp;
            gdc_LRR.<span style="color: #202020;">EditFormSettings</span>.<span style="color: #202020;">Visible</span> <span style="color: #339933;">=</span> DevExpress.<span style="color: #202020;">Web</span>.<span style="color: #202020;">ASPxClasses</span>.<span style="color: #202020;">DefaultBoolean</span>.<span style="color: #202020;">False</span><span style="color: #339933;">;</span>
&nbsp;
            <span style="color: #666666; font-style: italic;">//录入时间</span>
&nbsp;
            gdc_LRSJ.<span style="color: #202020;">EditFormSettings</span>.<span style="color: #202020;">Visible</span> <span style="color: #339933;">=</span> DevExpress.<span style="color: #202020;">Web</span>.<span style="color: #202020;">ASPxClasses</span>.<span style="color: #202020;">DefaultBoolean</span>.<span style="color: #202020;">False</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>在新建行和编辑行之前进行判断，并重新设置EditForm中的列的可见性即可。</p>
<p style="text-align: right;">cafe.wh 6,29 2010</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whpotter.net/?feed=rss2&amp;p=417</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>我还是我</title>
		<link>http://www.whpotter.net/?p=415</link>
		<comments>http://www.whpotter.net/?p=415#comments</comments>
		<pubDate>Tue, 01 Jun 2010 01:06:28 +0000</pubDate>
		<dc:creator>cafe.wh</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[毛毛]]></category>

		<guid isPermaLink="false">http://www.whpotter.net/?p=415</guid>
		<description><![CDATA[<p>         说这句话挺可耻。我也不知道我还是不是原来的我。不管是不是又怎么样呢？我以为我会远离那条路，我以为我会有一个新的开始，可是最终又回到了那里。因为是你，没有人能代替你。</p>
<p>         我很自私，我很不安。不管怎么样，你说的我都会相信，不管过去是怎样，我相信你不会骗我。我相信你就是那个要永远和我在一起的人。</p>
<p>         这次回南京发生了很多神奇的事。。就这样吧，回到北京，继续开忙了。</p>
<p style="text-align: right;">cafe.wh 6,1 2010</p>]]></description>
			<content:encoded><![CDATA[<p>         说这句话挺可耻。我也不知道我还是不是原来的我。不管是不是又怎么样呢？我以为我会远离那条路，我以为我会有一个新的开始，可是最终又回到了那里。因为是你，没有人能代替你。</p>
<p>         我很自私，我很不安。不管怎么样，你说的我都会相信，不管过去是怎样，我相信你不会骗我。我相信你就是那个要永远和我在一起的人。</p>
<p>         这次回南京发生了很多神奇的事。。就这样吧，回到北京，继续开忙了。</p>
<p style="text-align: right;">cafe.wh 6,1 2010</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whpotter.net/?feed=rss2&amp;p=415</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>北京各种扯</title>
		<link>http://www.whpotter.net/?p=413</link>
		<comments>http://www.whpotter.net/?p=413#comments</comments>
		<pubDate>Sun, 16 May 2010 16:54:27 +0000</pubDate>
		<dc:creator>cafe.wh</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[杂记]]></category>
		<category><![CDATA[北京]]></category>
		<category><![CDATA[扯]]></category>

		<guid isPermaLink="false">http://www.whpotter.net/?p=413</guid>
		<description><![CDATA[<p>       a.RT。</p>
<p>       感觉我也就高中那么段时间能扯点，之前之后都杯具。这段时间算是接触到北京各种能侃的人了;-)。不错不错。</p>
<p>       周六滑冰。。随行人员有wanghao和wanghao(别震惊，真的有两个wanghao)- -。。到北京来的第一次体育活动，打了个趔趄，然后坐到了融化中的冰里。。那个湿的。。。当时我就震惊了。。</p>
<p>       周五晚例行桌游活动。随行人员有那谁那谁和那谁。另外还有还有大批光大银行桌游党，其中也有个叫wanghao的。。a。。。</p>
<p>      上周四晚上去tuff家住。。。体会到了北京地铁早高峰的疯狂。。哇噻。。</p>
<p>      不记得哪天了，和[......]</p><p class='read-more'><a href='http://www.whpotter.net/?p=413'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p>       a.RT。</p>
<p>       感觉我也就高中那么段时间能扯点，之前之后都杯具。这段时间算是接触到北京各种能侃的人了;-)。不错不错。</p>
<p>       周六滑冰。。随行人员有wanghao和wanghao(别震惊，真的有两个wanghao)- -。。到北京来的第一次体育活动，打了个趔趄，然后坐到了融化中的冰里。。那个湿的。。。当时我就震惊了。。</p>
<p>       周五晚例行桌游活动。随行人员有那谁那谁和那谁。另外还有还有大批光大银行桌游党，其中也有个叫wanghao的。。a。。。</p>
<p>      上周四晚上去tuff家住。。。体会到了北京地铁早高峰的疯狂。。哇噻。。</p>
<p>      不记得哪天了，和高中同学某某和她大学同学去了趟798。798装x社区，还行，买了几张碟。</p>
<p>      工作。。天天开会。。加班扯蛋。。扯出幸福生活，扯出美好未来。具体点，律师是个有喜感的职业，最近一直在跟律所的人开会，我怎么就不能学学法律呢。</p>
<p>      后面的计划;<br />
               1.学会各种扯。<br />
               2.学车(警察叔叔说了，要抓紧办暂住证)<br />
               3.马上系统卖出去投资开家桌游店<br />
               4.10.1成都走动.<br />
               5.明年计划去韩国济州岛或者广西涠洲岛，某人推荐的。两个地方都要去啊。。大爱沙滩和海水，明年先去一个。</p>
<p style="text-align: right;">cafe.wh 5,17 2010</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whpotter.net/?feed=rss2&amp;p=413</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ASPxGridView 弹出操作确认</title>
		<link>http://www.whpotter.net/?p=410</link>
		<comments>http://www.whpotter.net/?p=410#comments</comments>
		<pubDate>Mon, 26 Apr 2010 02:11:20 +0000</pubDate>
		<dc:creator>cafe.wh</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[ASPxGridView]]></category>
		<category><![CDATA[删除确认]]></category>
		<category><![CDATA[弹出操作确认]]></category>

		<guid isPermaLink="false">http://www.whpotter.net/?p=410</guid>
		<description><![CDATA[<p> ASPxGridView提供了较为完整的按钮操作设置。</p>
<p>对于ASPxGridView删除按钮的确认弹出框，只需要简单设置几个属性即可。</p>
<p>1.首先自然要先启用行的删除功能。</p>
<p>2.然后设置ASPxGridView的SettingsBehavior的ConfirmDelete属性为Ture,即启用删除功能的确认框。</p>
<p>3.设置弹出框内容文本。在ASPxGridView的SettingsText中设置ConfirmDelete属性为”确定要删除吗？”即可。</p>
<p>对于自己定义的按钮操作CustomButtons则需要自己写JavaScript事件来实现这一功能，ASPxGridView对于自定义javasc[......]</p><p class='read-more'><a href='http://www.whpotter.net/?p=410'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p> ASPxGridView提供了较为完整的按钮操作设置。</p>
<p>对于ASPxGridView删除按钮的确认弹出框，只需要简单设置几个属性即可。</p>
<p>1.首先自然要先启用行的删除功能。</p>
<p>2.然后设置ASPxGridView的SettingsBehavior的ConfirmDelete属性为Ture,即启用删除功能的确认框。</p>
<p>3.设置弹出框内容文本。在ASPxGridView的SettingsText中设置ConfirmDelete属性为”确定要删除吗？”即可。</p>
<p>对于自己定义的按钮操作CustomButtons则需要自己写JavaScript事件来实现这一功能，ASPxGridView对于自定义javascript事件也提供了较好的接口。</p>
<p>1.定义一个CustomButton，ID为”Approval”。</p>
<p>2.在ClientSideEvents中的CustomButtonClick中定义按钮的客户端事件。</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p410code6'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p4106"><td class="code" id="p410code6"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>s<span style="color: #339933;">,</span> e<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
&nbsp;
                     <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>e.<span style="color: #660066;">buttonID</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">'Approval'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
                <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000066;">confirm</span><span style="color: #009900;">&#40;</span>“确定要执行该操作吗？”<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
                    e.<span style="color: #660066;">processOnServer</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span>
&nbsp;
                <span style="color: #009900;">&#125;</span>
&nbsp;
            <span style="color: #009900;">&#125;</span>
&nbsp;
            <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
&nbsp;
                e.<span style="color: #660066;">processOnServer</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span>
&nbsp;
            <span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>然后就可以实现操作确认了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whpotter.net/?feed=rss2&amp;p=410</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.net Treeview控件CheckBox使用JS全选/取消解决方案</title>
		<link>http://www.whpotter.net/?p=401</link>
		<comments>http://www.whpotter.net/?p=401#comments</comments>
		<pubDate>Wed, 14 Apr 2010 05:58:23 +0000</pubDate>
		<dc:creator>cafe.wh</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[部落格成长日志]]></category>

		<guid isPermaLink="false">http://www.whpotter.net/?p=401</guid>
		<description><![CDATA[<p>      由于Treeview生成的代码解析出来后CheckBox的name都具有不同的名字，所以网上的大部分checkbox全选，取消的解决方案都不适用。我用的方法首先解决了这个问题，另外还加入了对读取出来的Treeview的选中情况进行判断，是否被全部选中，如果被全部选中，读取出来的时候就把全选的钩钩上。先给大家看看我的前端代码：</p>

<div class="wp_codebox_msgheader"><span class="right"><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p401code7'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox">       <span style="color: #003366; font-weight: bold;">function</span> checkAll<span style="color: #009900;">&#40;</span>layout<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #003366; font-weight: bold;">var</span> el <span style="color: #339933;">=</span> document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span>layout<span style="color: #009900;">&#41;[......]</span></div><p class='read-more'><a href='http://www.whpotter.net/?p=401'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p>      由于Treeview生成的代码解析出来后CheckBox的name都具有不同的名字，所以网上的大部分checkbox全选，取消的解决方案都不适用。我用的方法首先解决了这个问题，另外还加入了对读取出来的Treeview的选中情况进行判断，是否被全部选中，如果被全部选中，读取出来的时候就把全选的钩钩上。先给大家看看我的前端代码：</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p401code10'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p40110"><td class="code" id="p401code10"><pre class="javascript" style="font-family:monospace;">       <span style="color: #003366; font-weight: bold;">function</span> checkAll<span style="color: #009900;">&#40;</span>layout<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #003366; font-weight: bold;">var</span> el <span style="color: #339933;">=</span> document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span>layout<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">getElementsByTagName</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'input'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #003366; font-weight: bold;">var</span> len <span style="color: #339933;">=</span> el.<span style="color: #660066;">length</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&lt;</span> len<span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>el<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">type</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;checkbox&quot;</span><span style="color: #009900;">&#41;</span>
                <span style="color: #009900;">&#123;</span> el<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">checked</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>
            <span style="color: #009900;">&#125;</span>
        <span style="color: #009900;">&#125;</span>
        <span style="color: #003366; font-weight: bold;">function</span> clearAll<span style="color: #009900;">&#40;</span>layout<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #003366; font-weight: bold;">var</span> el <span style="color: #339933;">=</span> document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span>layout<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">getElementsByTagName</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'input'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #003366; font-weight: bold;">var</span> len <span style="color: #339933;">=</span> el.<span style="color: #660066;">length</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&lt;</span> len<span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>el<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">type</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;checkbox&quot;</span><span style="color: #009900;">&#41;</span>
                <span style="color: #009900;">&#123;</span> el<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">checked</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>
            <span style="color: #009900;">&#125;</span>
        <span style="color: #009900;">&#125;</span>
        <span style="color: #003366; font-weight: bold;">function</span> checknode<span style="color: #009900;">&#40;</span>layout<span style="color: #339933;">,</span> checkboxname<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span>checkboxname<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">checked</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span>
            <span style="color: #003366; font-weight: bold;">var</span> el <span style="color: #339933;">=</span> document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span>layout<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">getElementsByTagName</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'input'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #003366; font-weight: bold;">var</span> len <span style="color: #339933;">=</span> el.<span style="color: #660066;">length</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&lt;</span> len<span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>el<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">type</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;checkbox&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #009900;">&#40;</span>el<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">checked</span> <span style="color: #339933;">==</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                    document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span>checkboxname<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">checked</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span>
                <span style="color: #009900;">&#125;</span>
            <span style="color: #009900;">&#125;</span>
        <span style="color: #009900;">&#125;</span></pre></td></tr></table></div>


<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p401code11'); return false;">View Code</a> HTML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p40111"><td class="code" id="p401code11"><pre class="html" style="font-family:monospace;">         &lt;input id=&quot;Checkboxcheckall&quot; onclick=&quot;if(this.checked==true) { checkAll('checkboxlayout'); } else { clearAll('checkboxlayout'); }&quot; type=&quot;checkbox&quot; value=&quot;on&quot; /&gt;全部选中
&lt;div id=&quot;checkboxlayout&quot;&gt;&lt;asp:TreeView ID=&quot;TreeViewGS&quot; runat=&quot;server&quot;&gt;
                            &lt;ParentNodeStyle Font-Bold=&quot;False&quot; /&gt;
                        &lt;/asp:TreeView&gt;&lt;/div&gt;</pre></td></tr></table></div>

<p>         checkAll()方法的作用就是选中全部的节点，clearAll则是清除所有节点选中。相比网上的方法，我的方法只是加入了一个容器，判断选中容器中的checkbox，而不是具有相同name的checkbox。</p>
<p>后台程序C#代码:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p401code12'); return false;">View Code</a> C</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p40112"><td class="code" id="p401code12"><pre class="c" style="font-family:monospace;">     <span style="color: #666666; font-style: italic;">//页面加载首次加载时检查选中状态</span>
            this.<span style="color: #202020;">TreeViewGS</span>.<span style="color: #202020;">Attributes</span>.<span style="color: #202020;">Add</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;onclick&quot;</span><span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;checknode('checkboxlayout','Checkboxcheckall');&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #666666; font-style: italic;">//调用js检查是否全选(使用Ajax回发)。TreeView数据填充时检查是否全选。</span>
        ScriptManager.<span style="color: #202020;">RegisterClientScriptBlock</span><span style="color: #009900;">&#40;</span>this.<span style="color: #202020;">Page</span><span style="color: #339933;">,</span> this.<span style="color: #202020;">Page</span>.<span style="color: #202020;">GetType</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;checkallchecking&quot;</span><span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;checknode('checkboxlayout','Checkboxcheckall');&quot;</span><span style="color: #339933;">,</span> <span style="color: #000000; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>      </pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.whpotter.net/?feed=rss2&amp;p=401</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASPxGridView控件使用SqlDataSource数据源参数设置</title>
		<link>http://www.whpotter.net/?p=404</link>
		<comments>http://www.whpotter.net/?p=404#comments</comments>
		<pubDate>Tue, 16 Mar 2010 06:05:30 +0000</pubDate>
		<dc:creator>cafe.wh</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[ASPxGridView]]></category>
		<category><![CDATA[SqlDataSource]]></category>
		<category><![CDATA[UpdateParameters]]></category>
		<category><![CDATA[参数设置]]></category>

		<guid isPermaLink="false">http://www.whpotter.net/?p=404</guid>
		<description><![CDATA[<p>         以ASPxGridView的编辑操作为例，如SqlDataSource中的Update方法需要接收6个参数，其中有三个是ASPxGridView中的编辑字段，另外三个中有一个是主键，另两个是后台根据其他信息赋值，如操作人，操作时间等。这时SqlDataSource中的UpdateParameters参数定义要注意以下几点：</p>
<p>         1.字段顺序一定要和Update语句或存储过程接收参数顺序一致(这点没什么好说的)。</p>
<p>         2.在ASPxGridView中设置为KeyFieldName的字段(即主键)，在UpdateParameters中应给个与列名不同的[......]</p><p class='read-more'><a href='http://www.whpotter.net/?p=404'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p>         以ASPxGridView的编辑操作为例，如SqlDataSource中的Update方法需要接收6个参数，其中有三个是ASPxGridView中的编辑字段，另外三个中有一个是主键，另两个是后台根据其他信息赋值，如操作人，操作时间等。这时SqlDataSource中的UpdateParameters参数定义要注意以下几点：</p>
<p>         1.字段顺序一定要和Update语句或存储过程接收参数顺序一致(这点没什么好说的)。</p>
<p>         2.在ASPxGridView中设置为KeyFieldName的字段(即主键)，在UpdateParameters中应给个与列名不同的字段，因为在生成参数时，KeyFieldName总会被加在所有参数的最后面，如果UpdateParameters中定义的列名与KeyFieldName中相同，那么参数接收的顺序就会被打乱，而用不同的名称，在SqlDataSource_Updating时，可以手动将最后一个参数(即根据KeyFieldName自动生成的参数)的值赋给你的主键所在位置，然后移除这里的最后一个参数即可。</p>
<p>         3. 被编辑列的UpdateParameters参数名需要和ASPxGridView的绑定字段列名一致，因为这样ASPxGridView可以自动将被修改的值赋给UpdateParameters，而如果UpdateParameters参数名和ASPxGridView的绑定字段列名不一致，就需要手动给这几个编辑列赋值，很麻烦。注意，在这里如果UpdateParameters中没有编辑字段，是不会被自动加上的，这点与KeyFieldName字段有点不同。</p>
<p style="text-align: right;">cafe.wh 3,15 2010</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whpotter.net/?feed=rss2&amp;p=404</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Time Traveler&#8217;s Wife</title>
		<link>http://www.whpotter.net/?p=398</link>
		<comments>http://www.whpotter.net/?p=398#comments</comments>
		<pubDate>Fri, 19 Feb 2010 13:59:58 +0000</pubDate>
		<dc:creator>cafe.wh</dc:creator>
				<category><![CDATA[Movie]]></category>

		<guid isPermaLink="false">http://www.whpotter.net/?p=398</guid>
		<description><![CDATA[<p>     《时间旅行者的妻子》。小说改编的电影，据说原著剧情比电影强N倍。电影豆瓣评分给了5分，很喜欢，以后一定要拜读下原著。</p>
<p style="text-align: center;"><a href="http://www.whpotter.net/wordpress/wp-content/uploads/2010/02/s3903741.jpg" rel="lightbox[398]"><img class="size-full wp-image-399 aligncenter" title="The Time Traveler's Wife" src="http://www.whpotter.net/wordpress/wp-content/uploads/2010/02/s3903741.jpg" alt="" width="306" height="435" /></a></p>
<p>        穿越是把双刃剑。他们一直在一起，也从未在一起。43岁时由于一次不幸的穿越，Henry的生命永远定格在了43岁。  </p>
<p>        Henry穿越到过去，在地铁里遇见他死去的妈妈的那场戏相当令人感动，他和妈妈说i met a girl，就像一个孩子在向父母诉说着自己的事情一样，虽然他妈妈不知道眼前的这个人就是她的孩子，她还是给出了建议  <img src='http://www.whpotter.net/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> ，很温馨，看着自己的母亲，却又不能相认，也很无奈。</p>
<p style="text-align: right;">cafe.wh 2,19 2010</p>
<p>      “我在六岁那[......]</p><p class='read-more'><a href='http://www.whpotter.net/?p=398'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p>     《时间旅行者的妻子》。小说改编的电影，据说原著剧情比电影强N倍。电影豆瓣评分给了5分，很喜欢，以后一定要拜读下原著。</p>
<p style="text-align: center;"><a href="http://www.whpotter.net/wordpress/wp-content/uploads/2010/02/s3903741.jpg" rel="lightbox[398]"><img class="size-full wp-image-399 aligncenter" title="The Time Traveler's Wife" src="http://www.whpotter.net/wordpress/wp-content/uploads/2010/02/s3903741.jpg" alt="" width="306" height="435" /></a></p>
<p>        穿越是把双刃剑。他们一直在一起，也从未在一起。43岁时由于一次不幸的穿越，Henry的生命永远定格在了43岁。  </p>
<p>        Henry穿越到过去，在地铁里遇见他死去的妈妈的那场戏相当令人感动，他和妈妈说i met a girl，就像一个孩子在向父母诉说着自己的事情一样，虽然他妈妈不知道眼前的这个人就是她的孩子，她还是给出了建议  <img src='http://www.whpotter.net/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> ，很温馨，看着自己的母亲，却又不能相认，也很无奈。</p>
<p style="text-align: right;">cafe.wh 2,19 2010</p>
<p>      “我在六岁那年第一次遇见他。这个凭空出现的裸体男人，带着熟悉温暖的微笑，像个天使。于是我把我的红色毯子借给了他。看着他逐渐的消失，他对我说，他还会来看我的。<br />
　　<br />
　　我在十二岁的时候坚信他将来会娶我。在十三岁的时候对他说，他让我变得不一样了。<br />
　　<br />
　　他在我十四岁的时候告诉我，我的母亲将死于癌症。在我十六岁的时候教训了欺负我的男孩。<br />
　　<br />
　　我二十岁的时候，他第一次遇见我。我激动的对他说，我从小就认识你了。<br />
　　<br />
　　他三十岁的时候娶了我，在三十六岁的时候遇见了六岁的我。在四十三岁的时候死在了我的怀里，同时也是我十三岁那年，那个寒冷恍惚的清晨。<br />
　　<br />
　　再次见到他，是我八十二岁那年，这个从童年起陪伴了我整个人生的男人。他温柔的拥抱我，那时，他四十三岁。<br />
　　<br />
　　他参与了她全部的成长，他是她的爱人，她的丈夫，她孩子的父亲。<br />
　　<br />
　　他是穿越时空的，时间旅行者。”</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whpotter.net/?feed=rss2&amp;p=398</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>chinese new year</title>
		<link>http://www.whpotter.net/?p=396</link>
		<comments>http://www.whpotter.net/?p=396#comments</comments>
		<pubDate>Mon, 15 Feb 2010 16:24:24 +0000</pubDate>
		<dc:creator>cafe.wh</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[杂记]]></category>

		<guid isPermaLink="false">http://www.whpotter.net/?p=396</guid>
		<description><![CDATA[<p>       又一个新年过去了，我也来制造点噪音吧。</p>
<p>       1.最近玩了好一阵三国杀，感觉不错，很有意思。</p>
<p>       2.本月24号港澳游，回来解决毕业论文，然后准备杀到成都。</p>
<p>       3.tuff说随时准备杀到首都，其实没什么要准备的。。就像人民币能解决的问题都属于人民内部矛盾一样。</p>
<p>       4.最近看了不少电影，但感觉自己都看得不认真。心不在焉，写不出什么东西。详见边栏douban秀。</p>
<p>       5.爷爷来南京以来经常坐电脑前面玩QQ游戏五子棋，哎，还是在成都好，每天出去打门球，不运动身体怎么能好呢?</p>
<p>       6.每次有很多想说说想抱怨的东西，因为某个大家[......]</p><p class='read-more'><a href='http://www.whpotter.net/?p=396'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p>       又一个新年过去了，我也来制造点噪音吧。</p>
<p>       1.最近玩了好一阵三国杀，感觉不错，很有意思。</p>
<p>       2.本月24号港澳游，回来解决毕业论文，然后准备杀到成都。</p>
<p>       3.tuff说随时准备杀到首都，其实没什么要准备的。。就像人民币能解决的问题都属于人民内部矛盾一样。</p>
<p>       4.最近看了不少电影，但感觉自己都看得不认真。心不在焉，写不出什么东西。详见边栏douban秀。</p>
<p>       5.爷爷来南京以来经常坐电脑前面玩QQ游戏五子棋，哎，还是在成都好，每天出去打门球，不运动身体怎么能好呢?</p>
<p>       6.每次有很多想说说想抱怨的东西，因为某个大家都知道的原因不敢在blog里面说，好吧。为了我blog的安全，就不在这牢骚了。</p>
<p>       7.apple生了个胖小子，一直期待她blog里上照片呢~呵呵~</p>
<p>       8.我想想昨晚喝了多少。白酒，红酒，黄酒，啤酒我都喝了。。昨晚真是喝多了。但感觉身体还真不错，除了头有点微疼没别的感觉，不少人昨晚都吐了。我骄傲啊。。骄傲归骄傲，不过我还真是不喜欢喝酒，烦。昨天真是看家人喝得那么high不好意思不陪陪。</p>
<p>       9.去成都这段时间还要抓紧时间把车学掉，不然麻烦大了。。</p>
<p style="text-align: right;">cafe.wh 2,15 2009</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whpotter.net/?feed=rss2&amp;p=396</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
