P
Peter Afonin
Hello,
I'm using Datalist control with ASP.NET 3.5. I don't have much experience
with this control, so perhaps I don't quite understand how it works.
The data in the table look approximately like this:
1
2
3
4
5
6
1
2
3
......
and so on, just repeating numbers from 1 to 6 (same is true for 1 to 12 or
any other sequence).
If I set the datalist this way:
RepeatColumns 0
RepeatDirection Vertical
RepeatLayout Table
it looks like this:
1 6 5 4
2 1 6 5
3 2 1 6
4 3 2 1
5 4 3 2 etc.
and so on. It always move the last value to the next column.
Instead, it always shows 6 columns (or 12 for 1-12 etc.)
If I set RepeatDirection Horizontal it looks like:
1 2 3
1 2 3
1 2 3
1 2 3
1 2 3 etc., which is not what I need.
I need it to look like this
1 1 1
2 2 2
3 3 3
4 4 4
5 5 5
6 6 6 etc.
Could you help me please?
Thank you.
I'm using Datalist control with ASP.NET 3.5. I don't have much experience
with this control, so perhaps I don't quite understand how it works.
The data in the table look approximately like this:
1
2
3
4
5
6
1
2
3
......
and so on, just repeating numbers from 1 to 6 (same is true for 1 to 12 or
any other sequence).
If I set the datalist this way:
RepeatColumns 0
RepeatDirection Vertical
RepeatLayout Table
it looks like this:
1 6 5 4
2 1 6 5
3 2 1 6
4 3 2 1
5 4 3 2 etc.
and so on. It always move the last value to the next column.
Instead, it always shows 6 columns (or 12 for 1-12 etc.)
If I set RepeatDirection Horizontal it looks like:
1 2 3
1 2 3
1 2 3
1 2 3
1 2 3 etc., which is not what I need.
I need it to look like this
1 1 1
2 2 2
3 3 3
4 4 4
5 5 5
6 6 6 etc.
Could you help me please?
Thank you.