<?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>Full-house &#187; Web</title>
	<atom:link href="http://full-house.cn/index.php/topics/web/feed" rel="self" type="application/rss+xml" />
	<link>http://full-house.cn</link>
	<description>SELECT blog FROM TonyHu.full-house WHERE subject IN (Life,Web,Database)</description>
	<lastBuildDate>Wed, 25 Aug 2010 07:40:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>JS Calendar Date Picker 日期选择、日历、不连续日期</title>
		<link>http://full-house.cn/index.php/201007/js-calendar-date-picker-multi-date-selection.html</link>
		<comments>http://full-house.cn/index.php/201007/js-calendar-date-picker-multi-date-selection.html#comments</comments>
		<pubDate>Mon, 05 Jul 2010 02:27:39 +0000</pubDate>
		<dc:creator>Tony hu</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Calendar Date Picker]]></category>

		<guid isPermaLink="false">http://full-house.cn/?p=764</guid>
		<description><![CDATA[这两天一直为一件事苦恼，怎么使用日期选择器来选取几个不连续的日期，今天终于找到了。
http://nogray.com/calendar.php 【JavaScript Calendar Component】
当然，如果你有其它需要，这里有30个很Cool的Calendar Date Picker
http://www.edesignerz.net/tips-a-tricks/16700-show-time-30-jquery-calendar-date-picker-plugins
试一下！
]]></description>
			<content:encoded><![CDATA[<p>这两天一直为一件事苦恼，怎么使用日期选择器来选取几个不连续的日期，今天终于找到了。</p>
<p><a  href="http://nogray.com/calendar.php">http://nogray.com/calendar.php</a> 【JavaScript Calendar Component】</p>
<p>当然，如果你有其它需要，这里有30个很Cool的Calendar Date Picker</p>
<p><a  href="http://www.edesignerz.net/tips-a-tricks/16700-show-time-30-jquery-calendar-date-picker-plugins">http://www.edesignerz.net/tips-a-tricks/16700-show-time-30-jquery-calendar-date-picker-plugins</a></p>
<p>试一下！</p>
]]></content:encoded>
			<wfw:commentRss>http://full-house.cn/index.php/201007/js-calendar-date-picker-multi-date-selection.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GridView 排序 分页 编辑 删除 更新 模板 综合使用</title>
		<link>http://full-house.cn/index.php/201006/gridview-sorting-paging-edit-update-delete-template.html</link>
		<comments>http://full-house.cn/index.php/201006/gridview-sorting-paging-edit-update-delete-template.html#comments</comments>
		<pubDate>Sun, 13 Jun 2010 06:00:37 +0000</pubDate>
		<dc:creator>Tony hu</dc:creator>
				<category><![CDATA[ASP.net]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[edit]]></category>
		<category><![CDATA[Gridview]]></category>
		<category><![CDATA[paging]]></category>
		<category><![CDATA[sorting]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://full-house.cn/?p=751</guid>
		<description><![CDATA[这是我最近在做一个项目，我尽量全部手写代码。现在将CS文件贴分来分享一下，作一个备忘吧！

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
namespace Capsugel.Web
{
public partial class Customers : System.Web.UI.Page
{
//使用DataView,排序的时候使用到
DataView dv = new DataView();
protected void Page_Load(object sender, EventArgs e)
{
//第一次加载页面
if (!IsPostBack)
{
bind();
}
}
protected void GridView1_PageIndexChanging(object sender, GridViewPageEventArgs e)
{
//测试 Ajax
//System.Threading.Thread.Sleep(1000);
GridView1.PageIndex = e.NewPageIndex;
//重新绑定一次
bind();
}
///
/// 绑定GridView
///
void bind()
{
Capsugel.BLL.Customer bll = new BLL.Customer();
//根据TextBox中的关键词，显示数据
DataTable dt = bll.GetList_ByName(TextBox1.Text.Trim()).Tables[0];
if (ViewState["sortExpr"] != null)
{
dv = new DataView(dt);
dv.Sort = (string)ViewState["sortExpr"] + &#8221; &#8221; + ViewState["sortingOrder"].ToString();
}
else
{
dv = [...]]]></description>
			<content:encoded><![CDATA[<p>这是我最近在做一个项目，我尽量全部手写代码。现在将CS文件贴分来分享一下，作一个备忘吧！<br />
<a  href="http://full-house.cn/wp-content/uploads/2010/06/SCL-CRM.jpg" class="thickbox no_icon" rel="gallery-751" title="SCL-CRM"><img class="aligncenter size-full wp-image-753" title="SCL-CRM" src="http://full-house.cn/wp-content/uploads/2010/06/SCL-CRM.jpg" alt="" width="550" height="372" /></a></p>
<blockquote><p>using System;<br />
using System.Collections.Generic;<br />
using System.Linq;<br />
using System.Web;<br />
using System.Web.UI;<br />
using System.Web.UI.WebControls;<br />
using System.Data;</p>
<p>namespace Capsugel.Web<br />
{<br />
public partial class Customers : System.Web.UI.Page<br />
{<br />
//使用DataView,排序的时候使用到<br />
DataView dv = new DataView();</p>
<p>protected void Page_Load(object sender, EventArgs e)<br />
{<br />
//第一次加载页面<br />
if (!IsPostBack)<br />
{<br />
bind();<br />
}<br />
}</p>
<p>protected void GridView1_PageIndexChanging(object sender, GridViewPageEventArgs e)<br />
{<br />
//测试 Ajax<br />
//System.Threading.Thread.Sleep(1000);<br />
GridView1.PageIndex = e.NewPageIndex;<br />
//重新绑定一次<br />
bind();<br />
}</p>
<p>///<br />
/// 绑定GridView<br />
///<br />
void bind()<br />
{<br />
Capsugel.BLL.Customer bll = new BLL.Customer();<br />
//根据TextBox中的关键词，显示数据<br />
DataTable dt = bll.GetList_ByName(TextBox1.Text.Trim()).Tables[0];<br />
if (ViewState["sortExpr"] != null)<br />
{<br />
dv = new DataView(dt);<br />
dv.Sort = (string)ViewState["sortExpr"] + &#8221; &#8221; + ViewState["sortingOrder"].ToString();<br />
}<br />
else<br />
{<br />
dv = dt.DefaultView;<br />
}<br />
GridView1.DataSource = dv;<br />
GridView1.DataBind();<br />
}</p>
<p>protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)<br />
{<br />
int idx = 0;<br />
string Uid = &#8220;&#8221;;<br />
BLL.Customer bll = new BLL.Customer();</p>
<p>if (e.CommandName == &#8220;myedit&#8221;)<br />
{<br />
//得到当前行的索引号，确定要将哪一行开启编辑状态，<br />
//如果是第二行的第一个，那应该是 0，所以才有了下面的公式<br />
idx = Convert.ToInt32(e.CommandArgument)-GridView1.PageIndex * GridView1.PageSize;<br />
GridView1.EditIndex = idx;<br />
}<br />
else if (e.CommandName == &#8220;myupdate&#8221;)<br />
{<br />
idx = Convert.ToInt32(e.CommandArgument) &#8211; GridView1.PageIndex * GridView1.PageSize;<br />
Uid = GridView1.DataKeys[idx].Values[0].ToString();<br />
//得到编辑框中的值<br />
string uname = ((TextBox)GridView1.Rows[idx].FindControl(&#8220;TextBox1&#8243;)).Text;<br />
string custid = ((TextBox)GridView1.Rows[idx].FindControl(&#8220;TextBox2&#8243;)).Text;<br />
string userid = ((TextBox)GridView1.Rows[idx].FindControl(&#8220;TextBox3&#8243;)).Text;<br />
bool check = ((CheckBox)GridView1.Rows[idx].FindControl(&#8220;CheckBox1&#8243;)).Checked;<br />
//对像模型<br />
Model.Customer m = new Model.Customer();<br />
m.CID = Convert.ToInt32(Uid);<br />
m.Checked = check;<br />
m.Name = uname;<br />
m.CustID = custid;<br />
m.Uid = userid;<br />
//更新<br />
bll.Update(m);<br />
//取消编辑状态<br />
GridView1.EditIndex = -1;<br />
}<br />
else if (e.CommandName == &#8220;mydelete&#8221;)<br />
{<br />
idx = Convert.ToInt32(e.CommandArgument) &#8211; GridView1.PageIndex * GridView1.PageSize;<br />
Uid = GridView1.DataKeys[idx].Values[0].ToString();<br />
bll.Delete(Convert.ToInt32(Uid));<br />
}<br />
else if (e.CommandName == &#8220;mycancel&#8221;)<br />
{<br />
GridView1.EditIndex = -1;<br />
}<br />
//最后都要进行重新绑定一次<br />
bind();<br />
}</p>
<p>protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)<br />
{<br />
//判断是否是DataRow，以防止鼠标经过Header也有效果<br />
if (e.Row.RowType == DataControlRowType.DataRow)<br />
{<br />
e.Row.Attributes.Add(&#8220;onmouseover&#8221;, &#8220;e=this.style.backgroundColor;this.style.backgroundColor=&#8217;#BDF9AC&#8217;;&#8221;);<br />
e.Row.Attributes.Add(&#8220;onmouseout&#8221;, &#8220;this.style.backgroundColor=e;&#8221;);<br />
}<br />
}</p>
<p>protected void Button3_Click(object sender, EventArgs e)<br />
{<br />
//POSTBACK<br />
bind();<br />
}</p>
<p>///<br />
/// 处理排序的问题，定义的排序<br />
///<br />
///<br />
///<br />
protected void GridView1_Sorting(object sender, GridViewSortEventArgs e)<br />
{<br />
//点一次时是desc,第二次是asc<br />
if (ViewState["sortingOrder"] == null)<br />
ViewState["sortingOrder"] = &#8220;desc&#8221;;<br />
else if (Convert.ToString(ViewState["sortingOrder"]) == &#8220;asc&#8221;)<br />
ViewState["sortingOrder"] = &#8220;desc&#8221;;<br />
else if (Convert.ToString(ViewState["sortingOrder"]) == &#8220;desc&#8221;)<br />
ViewState["sortingOrder"] = &#8220;asc&#8221;;</p>
<p>ViewState["sortExpr"] = e.SortExpression;<br />
bind();<br />
}</p>
<p>///<br />
/// 显示所有的，只要清空一下TextBox中的值<br />
///<br />
///<br />
///<br />
protected void Button4_Click(object sender, EventArgs e)<br />
{<br />
TextBox1.Text = &#8220;&#8221;;<br />
bind();<br />
}<br />
}<br />
}</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://full-house.cn/index.php/201006/gridview-sorting-paging-edit-update-delete-template.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP.NET 4.0 新特性(不完全版)</title>
		<link>http://full-house.cn/index.php/201006/asp-net-4-new-features.html</link>
		<comments>http://full-house.cn/index.php/201006/asp-net-4-new-features.html#comments</comments>
		<pubDate>Fri, 11 Jun 2010 03:18:44 +0000</pubDate>
		<dc:creator>Tony hu</dc:creator>
				<category><![CDATA[ASP.net]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[.net 4.0]]></category>
		<category><![CDATA[new features]]></category>

		<guid isPermaLink="false">http://full-house.cn/?p=733</guid>
		<description><![CDATA[

图表控件
SEO优化支持
URL Routing
Web.Config Transformation


if (!Page.IsPostBack)
{
Page.Title = &#8220;在这里可以设置页面的Title&#8221;;
Page.MetaDescription = &#8220;在这里可以设置页面的Description&#8221;;
Page.MetaKeywords = &#8220;在这里可以设置页面的keywords，做SEO&#8221;;
}
]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">
<ul>
<li>图表控件</li>
<li>SEO优化支持</li>
<li>URL Routing</li>
<li>Web.Config Transformation</li>
</ul>
</div>
<blockquote><p>if (!Page.IsPostBack)<br />
{<br />
Page.Title = &#8220;在这里可以设置页面的Title&#8221;;<br />
Page.MetaDescription = &#8220;在这里可以设置页面的Description&#8221;;<br />
Page.MetaKeywords = &#8220;在这里可以设置页面的keywords，做SEO&#8221;;<br />
}</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://full-house.cn/index.php/201006/asp-net-4-new-features.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IETester 集IE5.5,IE6,IE7,IE8为一体</title>
		<link>http://full-house.cn/index.php/201003/ietester.html</link>
		<comments>http://full-house.cn/index.php/201003/ietester.html#comments</comments>
		<pubDate>Mon, 22 Mar 2010 02:26:02 +0000</pubDate>
		<dc:creator>Tony hu</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[IETester]]></category>

		<guid isPermaLink="false">http://full-house.cn/?p=680</guid>
		<description><![CDATA[ETester is a free WebBrowser that allows you to have the rendering and javascript engines of IE8, IE7 IE 6 and IE5.5 on Windows 7, Vista and XP, as well as the installed IE in the same process. 
New in v0.4.2 : Added developer options to enable/disable browser features !
This is an alpha release, so [...]]]></description>
			<content:encoded><![CDATA[<p class="vspace" style="margin-top: 1.33em; margin-bottom: 0px;"><span class="wikiword">ETester</span><span> </span>is a free<span> </span><span class="wikiword">WebBrowser</span><span> </span>that allows you to have the rendering and javascript engines of<span> </span><strong><span class="wikiword">IE8</span>,<span> </span><span class="wikiword">IE7</span><span> </span>IE 6 and<span> </span><span class="wikiword">IE5</span>.5 on Windows 7, Vista and XP</strong>, as well as the installed IE in the same process.<span> </span><br />
<span style="font-size: 12px;"><span style="color: green;"><ins><span style="text-decoration: underline;">New in v0.4.2</span></ins></span><span> </span>: Added developer options to enable/disable browser features !</span></p>
<p class="vspace" style="margin-top: 1.33em; margin-bottom: 0px;">This is an alpha release, so feel free to post comments/bugs on the<span> </span><a  class="urllink" rel="nofollow" href="http://www.my-debugbar.com/forum/">IETester forum</a>.<span> </span><br />
<span style="font-size: 12px;"><span style="color: #333333;"><ins><span style="text-decoration: underline;">Requirement</span></ins><span> </span>: Windows 7, Windows Vista or Windows XP with<span> </span><span class="wikiword">IE7</span><span> </span>minimum (Windows<span> </span><span class="wikiword">XP/IE6</span><span> </span>config has some problems and<span> </span><span class="wikiword">IE8</span>instance do not work under XP without<span> </span><span class="wikiword">IE7</span>)</span></span></p>
<p><span style="font-size: 12px;"></span></p>
<p class="vspace" style="margin-top: 1.33em; margin-bottom: 0px;"><a  class="urllink" rel="nofollow" href="http://www.my-debugbar.com/ietester/install-ietester-v0.4.2.exe">Download IETester v0.4.2</a><span> </span>(25MB)<span> </span></p>
<p><img style="border-width: 0px;" src="http://www.my-debugbar.com/wiki/uploads/IETester/ietester-0.3.png" alt="" /></p>
<h3 style="margin-top: 1em; margin-bottom: 0.6em; font-size: 1.22em; font-weight: normal;">Known problems and limitations :</h3>
<ul style="margin-top: 0px; margin-bottom: 0px;">
<li>The Previous/Next buttons are not working properly</li>
<li>Focus is not working properly</li>
<li>Java applets are not working</li>
<li>Flash is not working on<span> </span><span class="wikiword">IE6</span><span> </span>instance in user mode : A solution is to launch<span> </span><span class="wikiword">IETester</span><span> </span>as admin user and Flash will work.</li>
<li>CSS Filters are not working correctly in user mode : A solution is to launch<span> </span><span class="wikiword">IETester</span><span> </span>as admin user and CSS Filters will work.</li>
</ul>
<p>以前一直为找一个装有IE6.0的浏览器而苦恼，前端开发人员也为这个劳民伤财。从我自己掌握的数据来看目前IE6.0在中国的占有率为35%到40%之间，所以IE6.0还是需要考虑的，无论Google是否支持。从dbanotes那里我知道了有IETester这个玩意儿，真不错。</p>
]]></content:encoded>
			<wfw:commentRss>http://full-house.cn/index.php/201003/ietester.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>构建高性能Web站点——读书笔记（1）</title>
		<link>http://full-house.cn/index.php/201003/building-high-performance-website-1.html</link>
		<comments>http://full-house.cn/index.php/201003/building-high-performance-website-1.html#comments</comments>
		<pubDate>Tue, 09 Mar 2010 08:37:53 +0000</pubDate>
		<dc:creator>Tony hu</dc:creator>
				<category><![CDATA[Performance]]></category>

		<guid isPermaLink="false">http://full-house.cn/?p=660</guid>
		<description><![CDATA[数据的网络传输

不同传输介质中信号的传输速度几乎是等于常量（无论是铜线和还是光纤）
带宽是指数据的发送速度。如百兆网卡，是指网卡的最大发送速度为100MBbps，即一秒种最多可以发送100Mb的数据。


]]></description>
			<content:encoded><![CDATA[<h4>数据的网络传输</h4>
<ul>
<li>不同传输介质中信号的传输速度几乎是等于常量（无论是铜线和还是光纤）</li>
<li>带宽是指数据的发送速度。如百兆网卡，是指网卡的最大发送速度为100MBbps，即一秒种最多可以发送100Mb的数据。</li>
<li></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://full-house.cn/index.php/201003/building-high-performance-website-1.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
