<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Efficient Data Paging and Sorting with ASP.NET 2.0 and SQL 2005</title><link>http://weblogs.asp.net/scottgu/archive/2006/03/22/Efficient-Data-Paging-and-Sorting-with-ASP.NET-2.0-and-SQL-2005.aspx</link><description>I posted two articles on doing efficient data paging with ASP.NET 2.0 and SQL 2005 earlier this year: Paging through lots of data efficiently (100,000 records + using Atlas for Ajax refresh updates) Efficient data paging with the ASP.NET 2.0 DataList</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>High Performance DataBinding for ASP.NET - A True Story</title><link>http://weblogs.asp.net/scottgu/archive/2006/03/22/Efficient-Data-Paging-and-Sorting-with-ASP.NET-2.0-and-SQL-2005.aspx#3838016</link><pubDate>Wed, 12 Sep 2007 16:51:56 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:3838016</guid><dc:creator>/dev/null [tony lombardo]</dc:creator><author>/dev/null [tony lombardo]</author><description>&lt;p&gt;Performance Through Custom Paging These days, just about every ASP.NET application has a grid of some&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=3838016" width="1" height="1"&gt;</description></item><item><title>High Performance DataBinding for ASP.NET - A True Story</title><link>http://weblogs.asp.net/scottgu/archive/2006/03/22/Efficient-Data-Paging-and-Sorting-with-ASP.NET-2.0-and-SQL-2005.aspx#3838009</link><pubDate>Wed, 12 Sep 2007 16:51:01 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:3838009</guid><dc:creator>Tony Lombardo</dc:creator><author>Tony Lombardo</author><description>&lt;p&gt;Performance Through Custom Paging These days, just about every ASP.NET application has a grid of some&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=3838009" width="1" height="1"&gt;</description></item><item><title>re: Efficient Data Paging and Sorting with ASP.NET 2.0 and SQL 2005</title><link>http://weblogs.asp.net/scottgu/archive/2006/03/22/Efficient-Data-Paging-and-Sorting-with-ASP.NET-2.0-and-SQL-2005.aspx#1380602</link><pubDate>Tue, 09 Jan 2007 15:35:25 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:1380602</guid><dc:creator>Matt</dc:creator><author>Matt</author><description>&lt;p&gt;liggett78, thanks for the link to that excellent article! &amp;nbsp;I'm finally able to efficiently sort my cutom-paged million-record table with SQL Server 2000. I decided to abandon the Rowcount method in favor of the slightly slower Cursor method mentioned in that article, which allows sorting on columns that aren't unique.&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=1380602" width="1" height="1"&gt;</description></item><item><title>Another Approach to Custom Paging: C# and SQL 2005 using Optional Parameters and ROW_NUMBER()</title><link>http://weblogs.asp.net/scottgu/archive/2006/03/22/Efficient-Data-Paging-and-Sorting-with-ASP.NET-2.0-and-SQL-2005.aspx#564782</link><pubDate>Wed, 20 Sep 2006 21:06:52 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:564782</guid><dc:creator>.net_2.0</dc:creator><author>.net_2.0</author><description>&lt;p&gt;There are alot of features with .Net 2.0 that allow for binding to data sources, and not writinga single...&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=564782" width="1" height="1"&gt;</description></item><item><title>re: Efficient Data Paging and Sorting with ASP.NET 2.0 and SQL 2005</title><link>http://weblogs.asp.net/scottgu/archive/2006/03/22/Efficient-Data-Paging-and-Sorting-with-ASP.NET-2.0-and-SQL-2005.aspx#461857</link><pubDate>Tue, 01 Aug 2006 09:48:12 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:461857</guid><dc:creator>bluedee</dc:creator><author>bluedee</author><description>how to implement it using sql server 2000?

thanks&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=461857" width="1" height="1"&gt;</description></item><item><title>re: Efficient Data Paging and Sorting with ASP.NET 2.0 and SQL 2005</title><link>http://weblogs.asp.net/scottgu/archive/2006/03/22/Efficient-Data-Paging-and-Sorting-with-ASP.NET-2.0-and-SQL-2005.aspx#449554</link><pubDate>Mon, 29 May 2006 17:07:55 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:449554</guid><dc:creator>FAHAD</dc:creator><author>FAHAD</author><description>I am Still confuze....
&lt;br&gt;
&lt;br&gt;i want simple DataList Sorting and paging with AJAX and DATASET.. NOT ObjectDataSource / DAL
&lt;br&gt;
&lt;br&gt;Plzz Reply
&lt;br&gt;
&lt;br&gt;Regards
&lt;br&gt;
&lt;br&gt;fahadtheking@gmail.com&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=449554" width="1" height="1"&gt;</description></item><item><title>Using LINQ with ASP.NET (Part 1)</title><link>http://weblogs.asp.net/scottgu/archive/2006/03/22/Efficient-Data-Paging-and-Sorting-with-ASP.NET-2.0-and-SQL-2005.aspx#448286</link><pubDate>Mon, 22 May 2006 07:22:07 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:448286</guid><dc:creator>ScottGu's Blog</dc:creator><author>ScottGu's Blog</author><description>One of the new things I’m super excited about right now is the LINQ family of technologies that are starting...&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=448286" width="1" height="1"&gt;</description></item><item><title>re: Efficient Data Paging and Sorting with ASP.NET 2.0 and SQL 2005</title><link>http://weblogs.asp.net/scottgu/archive/2006/03/22/Efficient-Data-Paging-and-Sorting-with-ASP.NET-2.0-and-SQL-2005.aspx#440998</link><pubDate>Fri, 24 Mar 2006 12:38:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:440998</guid><dc:creator>liggett78</dc:creator><author>liggett78</author><description>Look at &lt;a target="_new" href="http://www.codeproject.com/aspnet/PagingLarge.asp"&gt;http://www.codeproject.com/aspnet/PagingLarge.asp&lt;/a&gt;. I implemented some of these, works great even with million rows&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=440998" width="1" height="1"&gt;</description></item><item><title>re: Efficient Data Paging and Sorting with ASP.NET 2.0 and SQL 2005</title><link>http://weblogs.asp.net/scottgu/archive/2006/03/22/Efficient-Data-Paging-and-Sorting-with-ASP.NET-2.0-and-SQL-2005.aspx#440909</link><pubDate>Thu, 23 Mar 2006 08:08:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:440909</guid><dc:creator>Steve</dc:creator><author>Steve</author><description>Thanks!  I wish I could use these techniques but our customers probably won't have 2005 for a few more years.  Does anyone have a pointer to a best practices for SQL 2000?&lt;br&gt;&lt;br&gt;Basically, wondering if &amp;quot;TOP(PageSize) ASC of TOP(PageNum*PageSize) DESC&amp;quot; is the best way to do things.  Also, I'm curious why they can't just provide a row range operation.  Seems we'll never be able to avoid having to write one sproc per orderby.... :(&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=440909" width="1" height="1"&gt;</description></item><item><title>re: Efficient Data Paging and Sorting with ASP.NET 2.0 and SQL 2005</title><link>http://weblogs.asp.net/scottgu/archive/2006/03/22/Efficient-Data-Paging-and-Sorting-with-ASP.NET-2.0-and-SQL-2005.aspx#440907</link><pubDate>Thu, 23 Mar 2006 07:19:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:440907</guid><dc:creator>Manuel Abadia</dc:creator><author>Manuel Abadia</author><description>Good catchs but as most of the examples out there he's using a DataSet instead of custom objects. &lt;br&gt;&lt;br&gt;I posted about ObjectDataSource with custom paging and sorting here:&lt;br&gt;&lt;br&gt;&lt;a target="_new" href="http://www.manuelabadia.com/blog/PermaLink,guid,f002752d-1258-475d-9ec0-eee3bd98d0a4.aspx"&gt;http://www.manuelabadia.com/blog/PermaLink,guid,f002752d-1258-475d-9ec0-eee3bd98d0a4.aspx&lt;/a&gt;&lt;br&gt;&lt;br&gt;And continued here:&lt;br&gt;&lt;br&gt;&lt;a target="_new" href="http://www.manuelabadia.com/blog/PermaLink,guid,eaa3eed8-f997-43c4-8c30-78c2f72d0c86.aspx"&gt;http://www.manuelabadia.com/blog/PermaLink,guid,eaa3eed8-f997-43c4-8c30-78c2f72d0c86.aspx&lt;/a&gt;&lt;br&gt;&lt;br&gt;I hope the bug I pointed in the last part will be fixed soon.&lt;br&gt;&lt;br&gt;Manu.&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=440907" width="1" height="1"&gt;</description></item></channel></rss>