<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Repeater paging with an SqlDataSource in ASP.Net</title>
	<atom:link href="http://www.akamarketing.com/blog/66-repeater-paging-with-an-sqldatasource-in-aspnet.html/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.akamarketing.com/blog/66-repeater-paging-with-an-sqldatasource-in-aspnet.html</link>
	<description>Blogged thoughts, not just any other wordpress blog!</description>
	<pubDate>Tue, 07 Oct 2008 19:44:08 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Piotr</title>
		<link>http://www.akamarketing.com/blog/66-repeater-paging-with-an-sqldatasource-in-aspnet.html#comment-59151</link>
		<dc:creator>Piotr</dc:creator>
		<pubDate>Wed, 30 Jul 2008 10:42:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.akamarketing.com/blog/66-repeater-paging-with-an-sqldatasource-in-aspnet.html#comment-59151</guid>
		<description>Just to say thank you! Top job</description>
		<content:encoded><![CDATA[<p>Just to say thank you! Top job</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://www.akamarketing.com/blog/66-repeater-paging-with-an-sqldatasource-in-aspnet.html#comment-25553</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 06 Feb 2008 00:57:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.akamarketing.com/blog/66-repeater-paging-with-an-sqldatasource-in-aspnet.html#comment-25553</guid>
		<description>When I enter this and run it, I get this error: 

Both DataSource and DataSourceID are defined on 'repeater1'.  Remove one definition.</description>
		<content:encoded><![CDATA[<p>When I enter this and run it, I get this error: </p>
<p>Both DataSource and DataSourceID are defined on &#8216;repeater1&#8242;.  Remove one definition.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Callan</title>
		<link>http://www.akamarketing.com/blog/66-repeater-paging-with-an-sqldatasource-in-aspnet.html#comment-12233</link>
		<dc:creator>David Callan</dc:creator>
		<pubDate>Sun, 23 Sep 2007 20:18:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.akamarketing.com/blog/66-repeater-paging-with-an-sqldatasource-in-aspnet.html#comment-12233</guid>
		<description>Hi Ash, sorry for the delay in the reply. The site has been down over most of the weekend. Unfortunately I'm not a VB man myself but I would recommend getting yourself set up on forums.asp.net and post your problem there. There's a tonne of both C# and VB developers which regularly help people out.</description>
		<content:encoded><![CDATA[<p>Hi Ash, sorry for the delay in the reply. The site has been down over most of the weekend. Unfortunately I&#8217;m not a VB man myself but I would recommend getting yourself set up on forums.asp.net and post your problem there. There&#8217;s a tonne of both C# and VB developers which regularly help people out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ash</title>
		<link>http://www.akamarketing.com/blog/66-repeater-paging-with-an-sqldatasource-in-aspnet.html#comment-12036</link>
		<dc:creator>Ash</dc:creator>
		<pubDate>Tue, 18 Sep 2007 14:01:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.akamarketing.com/blog/66-repeater-paging-with-an-sqldatasource-in-aspnet.html#comment-12036</guid>
		<description>Hey, I was wondering if maybe someone could help me convert the above code to VB?

I've done most of it, but as a n00b to ASP.NET and VB I think I've made some errors, my code I'm struggling with is:

PagingLink.CommandArgument = i.ToString() 'used to detect result page required
PagingLink.Command &#38;= New CommandEventHandler(PagingLink_Command)

It's saying "'Public Event Command(sender As Object, e As System.Web.UI.WebControls.CommandEventArgs)' is an event, and cannot be called directly. Use a 'RaiseEvent' statement to raise an event."

Other than that the code seems to be working (the page loads if i comment that line out showing only 5 results).

Any help would be appreciated.

Thanks</description>
		<content:encoded><![CDATA[<p>Hey, I was wondering if maybe someone could help me convert the above code to VB?</p>
<p>I&#8217;ve done most of it, but as a n00b to ASP.NET and VB I think I&#8217;ve made some errors, my code I&#8217;m struggling with is:</p>
<p>PagingLink.CommandArgument = i.ToString() &#8216;used to detect result page required<br />
PagingLink.Command &amp;= New CommandEventHandler(PagingLink_Command)</p>
<p>It&#8217;s saying &#8220;&#8216;Public Event Command(sender As Object, e As System.Web.UI.WebControls.CommandEventArgs)&#8217; is an event, and cannot be called directly. Use a &#8216;RaiseEvent&#8217; statement to raise an event.&#8221;</p>
<p>Other than that the code seems to be working (the page loads if i comment that line out showing only 5 results).</p>
<p>Any help would be appreciated.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris O</title>
		<link>http://www.akamarketing.com/blog/66-repeater-paging-with-an-sqldatasource-in-aspnet.html#comment-11688</link>
		<dc:creator>Chris O</dc:creator>
		<pubDate>Thu, 06 Sep 2007 15:48:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.akamarketing.com/blog/66-repeater-paging-with-an-sqldatasource-in-aspnet.html#comment-11688</guid>
		<description>I am now trying to give the user a choice as to how many results they want per page by means of a drop down list.  I have created a method that chages the page size based on what is selected from the drop down by creating a variable called resultsPerPage and usingit as follows:
float numOflinks = ((float)totalResults / resultsPerPage );
PagedResults.PageSize = resultsPerPage;

however my page numbering is way off and when I click on an item in the repeater it looses the previous selection in the dropdown and restores it to the 1'st value in the list, and restoring the number of results per page to the 1st value of the drop down. I hop I make sense!
any suggestions!?
thanks</description>
		<content:encoded><![CDATA[<p>I am now trying to give the user a choice as to how many results they want per page by means of a drop down list.  I have created a method that chages the page size based on what is selected from the drop down by creating a variable called resultsPerPage and usingit as follows:<br />
float numOflinks = ((float)totalResults / resultsPerPage );<br />
PagedResults.PageSize = resultsPerPage;</p>
<p>however my page numbering is way off and when I click on an item in the repeater it looses the previous selection in the dropdown and restores it to the 1&#8217;st value in the list, and restoring the number of results per page to the 1st value of the drop down. I hop I make sense!<br />
any suggestions!?<br />
thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
