In this article i am explaining how to do paging in datalist
as we know datalist control does not support paging properties as Gridview
control support. In this article i m displaying two images for paging and
according to your requirement you can change it. First of all create a database following the
script which you can copy and paste it in your sql server 2005.
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[tbStudent]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[tbStudent](
[id] [int] IDENTITY(10,1) NOT NULL,
[name] [varchar](50) NULL,
[age] [int] NULL,
[rollno] [int] NULL,
[address] [varchar](50) NULL,
[image] [varchar](50) NULL
) ON [PRIMARY]
END

