<?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>幻想曲.Net &#187; 分页</title>
	<atom:link href="http://yibin.us/tag/%e5%88%86%e9%a1%b5/feed" rel="self" type="application/rss+xml" />
	<link>http://yibin.us</link>
	<description>面朝大海，春暖花开</description>
	<lastBuildDate>Fri, 17 Jun 2011 01:57:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>继续发布js分页控件</title>
		<link>http://yibin.us/archives/6012</link>
		<comments>http://yibin.us/archives/6012#comments</comments>
		<pubDate>Wed, 03 Sep 2008 05:54:55 +0000</pubDate>
		<dc:creator>幻想曲</dc:creator>
				<category><![CDATA[Develop]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[分页]]></category>

		<guid isPermaLink="false">http://yibin.us/?p=6012</guid>
		<description><![CDATA[相关文章:仿豆瓣分页代码js版的.Net封装今天继续进行多样式的封装效果: &#60;%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %&#62; &#60;%@ Register assembly="SmartPager" namespace="SmartPagerControls" tagprefix="Pager" %&#62; &#60;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&#62; &#60;html xmlns="http://www.w3.org/1999/xhtml"&#62; &#60;head runat="server"&#62; &#60;/head&#62; &#60;body&#62; &#60;form id="form1" runat="server"&#62; &#60;div&#62; &#60;Pager:SmartPager ID="SmartPager1" runat="server" PageSize="5" RecordCount="50" PagePara="page" PageStyle="Default"/&#62; &#60;/div&#62; &#60;/form&#62; &#60;/body&#62; &#60;/html&#62; 调用说明:&#60;Pager:SmartPager ID="SmartPager1" runat="server" PageSize="5" RecordCount="50" PagePara="page" PageStyle="Default"/&#62;PageSize：每页记录数RecordCount：总记录数PagePara：分页参数，即xxx.aspx?page=xxx中的page参数名PageStyle：一个样式枚举，目前支持7种样式。下载：http://www.uushare.com/user/yibin/file/918253]]></description>
			<content:encoded><![CDATA[<p>相关文章:<br /><a href="http://yibin.us/Archives/6010.aspx" target="_blank">仿豆瓣分页代码js版的.Net封装</a><br />今天继续进行多样式的封装<br />效果:<br /><a href="http://yibin.us/wp-content/uploads/20080903/00000000079.png"  class="thickbox"><img src="http://yibin.us/wp-content/uploads/20080903/00000000079.png" class="img"  /></a></p>
<p><code><br />
&lt;%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %&gt;<br />
&lt;%@ Register assembly="SmartPager" namespace="SmartPagerControls" tagprefix="Pager" %&gt;<br />
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;</p>
<p>&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;<br />
&lt;head runat="server"&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
    &lt;form id="form1" runat="server"&gt;<br />
    &lt;div&gt;<br />
        &lt;Pager:SmartPager ID="SmartPager1" runat="server" PageSize="5" RecordCount="50" PagePara="page" PageStyle="Default"/&gt;<br />
    &lt;/div&gt;<br />
    &lt;/form&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;
</pre>
<p>调用说明:<br />&lt;Pager:SmartPager ID="SmartPager1" runat="server" PageSize="5" RecordCount="50" PagePara="page" PageStyle="Default"/&gt;<br /><font color="Red">PageSize：每页记录数<br />RecordCount：总记录数<br />PagePara：分页参数，即xxx.aspx?page=xxx中的page参数名<br />PageStyle：一个样式枚举，目前支持7种样式。</font><br />下载：<br /><a href="http://www.uushare.com/user/yibin/file/918253" target="_blank">http://www.uushare.com/user/yibin/file/918253</a></p>
]]></content:encoded>
			<wfw:commentRss>http://yibin.us/archives/6012/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>仿豆瓣分页代码js版的.Net封装</title>
		<link>http://yibin.us/archives/6010</link>
		<comments>http://yibin.us/archives/6010#comments</comments>
		<pubDate>Tue, 02 Sep 2008 03:21:06 +0000</pubDate>
		<dc:creator>幻想曲</dc:creator>
				<category><![CDATA[Develop]]></category>
		<category><![CDATA[Asp.Net]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[分页]]></category>

		<guid isPermaLink="false">http://yibin.us/?p=6010</guid>
		<description><![CDATA[原文：仿豆瓣分页代码js版很多地方用到了这个分页，每个页面都得导入js，当然，你也可以将js放到一个UserControl中，再引入到aspx中。为避免麻烦，封装成了一个控件 有需要的朋友可以直接拿去用SmartPager.rar (25.61 kb)这里未涉及到任何数据绑定操作，请自行完成。该控件仅仅完成Render页码的行为，如果您有兴趣，可以完成数据绑定。]]></description>
			<content:encoded><![CDATA[<p>原文：<br /><a href="http://yibin.us/Archives/e4bbbfe8b186e793a3e58886e9a1b5e4bba3e7a081jse78988.aspx" target="_blank">仿豆瓣分页代码js版</a><br />很多地方用到了这个分页，每个页面都得导入js，当然，你也可以将js放到一个UserControl中，再引入到aspx中。<br />为避免麻烦，封装成了一个控件<br /><a href="http://yibin.us/wp-content/uploads/20080902/00000000078.png"  class="thickbox"><img src="http://yibin.us/wp-content/uploads/20080902/00000000078.png" class="img"  /></a></p>
<p>有需要的朋友可以直接拿去用<br /><a href="http://yibin.us/wp-content/uploads/20080902/SmartPager.rar" target="_blank" class="download">SmartPager.rar (25.61 kb)</a><br />这里未涉及到任何数据绑定操作，请自行完成。<br />该控件<b>仅仅</b>完成Render页码的行为，如果您有兴趣，可以完成数据绑定。</p>
]]></content:encoded>
			<wfw:commentRss>http://yibin.us/archives/6010/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Google分页控件1.1版发布,支持数据源输出</title>
		<link>http://yibin.us/archives/5564</link>
		<comments>http://yibin.us/archives/5564#comments</comments>
		<pubDate>Mon, 09 Oct 2006 05:03:00 +0000</pubDate>
		<dc:creator>幻想曲</dc:creator>
				<category><![CDATA[Develop]]></category>
		<category><![CDATA[分页]]></category>

		<guid isPermaLink="false">http://yibin.us/?p=5564</guid>
		<description><![CDATA[在1.0版的基础上作了以下改进：# 支持将数据源输出。表明你可以将数据控件的DataSource指定为该分页控件。# 无需指定记录数。记录数在控件中已进行计算。# 需指定SQL语句。# 虽然有ExecuteType的枚举，但并未实现，目前只支持ExecuteType.Text的枚举。示例代码：//取页码if (Request.QueryString["page"] != null){_pageindex = Int16.Parse(Request.QueryString["page"]);} this.Pager1.CurrentPage = _pageindex;this.Pager1.Sql = “select subject from documents order by publishdate desc”;this.GridView1.DataSource = this.Pager1.GetDataSource(connectionstring);this.GridView1.DataBind(); GetDataSource方法有一个重载：public DataView GetDataSource(string connectionstring)public DataView GetDataSource(SqlConnection conn)]]></description>
			<content:encoded><![CDATA[<p>在1.0版的基础上作了以下改进：<br /># 支持将数据源输出。表明你可以将数据控件的DataSource指定为该分页控件。<br /># 无需指定记录数。记录数在控件中已进行计算。<br /># 需指定SQL语句。<br /># 虽然有ExecuteType的枚举，但并未实现，目前只支持ExecuteType.Text的枚举。<br />示例代码：<br />//取页码<br />if (Request.QueryString["page"] != null)<br />{<br />_pageindex = Int16.Parse(Request.QueryString["page"]);<br />}</p>
<p>this.Pager1.CurrentPage = _pageindex;<br />this.Pager1.Sql = “select subject from documents order by publishdate desc”;<br />this.GridView1.DataSource = this.Pager1.GetDataSource(connectionstring);<br />this.GridView1.DataBind();</p>
<p>GetDataSource方法有一个重载：<br />public DataView GetDataSource(string connectionstring)<br />public DataView GetDataSource(SqlConnection conn) </p>
]]></content:encoded>
			<wfw:commentRss>http://yibin.us/archives/5564/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

