Thursday, March 29, 2012

Paging sample in C#?

Hello folks,
Anyone have some Paging sample in c#?
All code sample I was found are uses javascript as link.
===================================
e.g. javascript:__doPostBack('_ctl1$_ctl0$Pager$_ctl6','')
===================================

But, I'm looking for a paging sample which uses "real link".
===================================
e.g. filename.asp?page=2
===================================

Can anyone help me?
Thank you in advance!!!Just some idea to get you started:

When using a datagrid you could retrieve the id with the Request.QueryString("page"). Assign this value (convert it to an integer first) to the datagrid.newpageindex.

Grz, Kris.

0 comments:

Post a Comment