DIGIT-ARC read-only archive · snapshot: July 23, 2026

Paging in ASP.net DataList Control

8 posts · originally from https://geek.digit.in/community/threads/paging-in-asp-net-datalist-control.140084/

B
binay00713 Original post #1
May 2, 2011 at 12:41 PM
I have a DtaList control which fetches 20 record in my webpage...

I want to display 6 records in 3*3 style & a link at the bottom to view all records in another page.

I have set the RepeatColumns=3 & RepeatDirection="Horizontal" ,

But how to set the vertical Repeat=3
arpanmukherjee1
May 3, 2011 at 9:30 AM
didnt understand the question.

you want 6 records to be displayed in 9 (3*3) blocks. How:?::?::?:
what is the query :?::?:
what will the next page show if you have shown all records in 1 page :?::?:

in gridview
set AutoGenerateColoums = true.
configure your dataset that has 3 coloums.
AllowPaging=true
PageSize=3
Zangetsu
May 3, 2011 at 12:09 PM
I have a DtaList control which fetches 20 record in my webpage...

I want to display 6 records in 3*3 style & a link at the bottom to view all records in another page.

I have set the RepeatColumns=3 & RepeatDirection="Horizontal" ,

But how to set the vertical Repeat=3


u cant set both vertical & horizontal repeat @ the same time
B
May 3, 2011 at 10:33 PM
sorry i want to display 9 records in 3*3 style
arpanmukherjee1
May 3, 2011 at 11:16 PM
did you try generating a 3 column dataset??
B
Beenu #8
Oct 14, 2011 at 8:03 PM
Hello Everyone,
Check this URL...
DataList Control in ASP.Net - MindStick

It might be useful for you.


:cry:Thanks