Ask the DotNetJunkies: DataList Paging
The trick when using a DataList to page data is to think about where the paging occurs. Since the DataList does not support paging but does support being bound to a DataSet. If it were simple the story would end here. Unfortunately a DataSet does not support paging either. So what you need to do is make your DataSet a single page of data! This way you only retrieve the data you need for a single page.
ASP.NET DataGrid Paging - Custom Paging w/ Caching & Numeric Links
This tutorial is a variation on Doug Seven's article (ASP.NET DataGrid Paging Part 2 : Custom Paging) . You should read this article first to understand the code and concepts involved in my modification. While my implementation is specific to my particular needs, hopefully you can see how to apply this concept to many different types of result sets.
Creating a Stored Procedure for Custom Paging with the ASP.NET DataGrid Control
The DataGrid control is the most flexible and robust data bound control offered by ASP.NET. The DataGrid control renders as an HTML table in the users Web browser that can contain any other combination of controls, can be dynamically manipulated using scripts and server-side code, accommodates in-row editing and updating of displayed data, sorting of columns, and built-in paging. The built-in paging supplied by the DataGrid control may either be semi-automatically managed by the control or be manually managed using code.
Paging in DataList
Today, we will learn how we can add the paging feature for the datalist. It should be noted that, like DataGrid, DataList does not support inbuilt paging mechanism. The essence of this article is how we make use of the object SqlDataAdapter.
Paging in DataList
Today, we will learn how we can add the paging feature for the datalist. It should be noted that, like DataGrid, DataList does not support inbuilt paging mechanism. The essence of this article is how we make use of the object SqlDataAdapter. Read more ...
Computerworld The most comprehensive source of news and analysis on the technologies and management issues of information technology. ...
subscribe now