The text of this article is not in this database — only its details are. Read it on the old site: Paging With DataList Control in ASP.NET
6 Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
The text of this article is not in this database — only its details are. Read it on the old site: Paging With DataList Control in ASP.NET
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
Anu VPosted Mar 14, 2016, 1:53 AM
Nice
Upendra Pratap ShahiPosted Jun 29, 2015, 5:06 AM
nice..
Euclides MatussePosted Mar 28, 2013, 11:12 AM
Pealse add below the :- ltnfirst_Click(object sender, EventArgs e) { pos = 0;this.ViewState["vs"] = 0; databind(); } because when we are in the last page, then if we go to the first after switch-page and the following page she continues with this.ViewState ["vs"] to the number of pages, i.e., continues with the previous count to remove this error we have to add the Middle row I have written above.
alireza KERAMATIPosted Oct 7, 2012, 6:07 AM
Very Good
Pradeep yadaveditedPosted Aug 24, 2012, 2:40 PMEdited Aug 24, 2012, 2:41 PM
Pls add below the :- btnlast_Click(object sender, EventArgs e) { pos = adsource.PageCount - 1; this.ViewState["vs"] = pos; databind(); } bcause when we are at last page then if we come to the second last page it gives an error to remove this error we have to add the Middle row I have written above. Thanx and Regards Pradeep Kumar Yadav