• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 401
  • Last Modified:

Automatic Paging in a DataList

Hi!

I have a DataList on my page, defined in the markup (i.e., not added via C# code). When a button

is clicked, then, from C# code, I obtain a SqlDataReader and then assign in to the DataSource

property of the DataList.

Is there any easy way to enable paging in the DataList?

Thanks :)
muskad202
0
muskad202
Asked:
muskad202
  • 2
1 Solution
 
DreamMasterCommented:
Unfortunately the DataList does not have inbuild paging, but when you really want to, you can always get the effect.

This is explained here...all be it in VB.NET, I hope it will still help you.

http://www.dotnetjohn.com/articles.aspx?articleid=48

Regards,
Max.


0
 
muskad202Author Commented:
thanks a lot :)
0
 
DreamMasterCommented:
Not a problem :)

Regards,
Max.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now