Paging in ASP.net DataList Control

binay00713

Broken In
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
 
Last edited:
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

I am the master of my Fate.
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
 

Beenu

Right off the assembly line
Hello Everyone,
Check this URL...
DataList Control in ASP.Net - MindStick

It might be useful for you.


:cry:Thanks
 
Top Bottom