AspNetAtoms.com daily updates on ASP.NET Tutorials, Articles, Authors and more. Subscribe to our newsletter and receive updates on ASP.NET resources on the Internet.

Categories

Recent Posts

DataGrid Paging and Sorting Using A DataReader : Dimitrios Markatos

Sunday, June 29 2008

This article will demonstrate two ways one could implement the DataReader to bind a DataGrid, that includes caching, paging and persistent bi-directional sorting, all without the use of a DataAdapter/DataSet at all! In a previous article I had written on Dynamic Column Sorting and Paging in ASP.NET, I demonstrated one of nine ways one could page and bi-directionally sort a DataGrid. I opted for the old hidden field method. At any rate, this method, among the eight others works fine, and it all depends on how you want to approach this based on any given factors in your app. Having said that, the problems we'll be discussing here lay not with either the paging or sorting aspects of it, but rather in implementing the most efficient manner in retrieving data and presenting it to the client...

Read More:
DataGrid Paging and Sorting Using A DataReader : Dimitrios Markatos
Also See:
ASP.NET 2.0 - Explicit Localization in different Languages : Lakshmi Krishnamurthy
Build More Scalable Sites : Peter Vogel
How to Show Messenger-Like Popups Using AJAX : Bilal Haidar [MVP,MCT]
Creating a Simple WebPart Page and use WebServer controls as WebParts : Muhammad Mosa
ASP.NET Tip: Creating a Form Using PlaceHolder Controls : Eric Smith

Post your comment

Comment