Who is online? 120 guests and 0 members
Member login | Become a member
posted 11/12/2009 8:47:17 AM by Vijjendra
PagedDataSource is a class which encapsulates the paging related properties which is required to perform paging in data bound control like Repeater/DataList. PagedDataSource class comes under System.Web.UI.WebControls namespace. PagedDataSource contains following common properties:
PageSize: It Defines number of records shown on the page. it’s default value is 10. AllowPaging: Indicating whether paging is enabled for data bound control or not. Its default value is “false”. CurrentPageIndex: It set the index of the current page. It’s default value is 0; PageCount : Gets the total number of pages necessary to display all items of DataSource. IsFirstPage: Indicating current page is firstpage or not return true if it is firstpage else return false. IsLastPage: Indicating current page is lastPage or not return true if it is lastPage else return false. VirtualCount: Get or set the virtual item of the DataSource when custom paging is enabled.
Vijjendra (Member since: 11/29/2008 6:26:22 AM) This is Vijendra Singh Shakya.
View Vijjendra 's profile
Leave a comment
It's fast, easy and free! Submit articles, get your own blog, ask questions & give answers in the forums, and become a better developer, faster.
enter your email address: