Home All Groups Group Topic Archive Search About
Author
21 Jan 2006 5:36 PM
dfetrow410
Take a look at the link below. Notice how the commercials are in the
center. I need to get all this data from a db and then put it into a
page. the first commercial is on the left..then the next comercial will
be to the right of it....Then I go to the next line and start again.
What is the best way to do this??

http://www.spotbowl.com/default_vote.asp

Author
21 Jan 2006 5:39 PM
ThunderMusic
the best way would be with a repeater I think...  you can tell it to repeat
vertically 2 by row... but I can be wrong...


<dfetrow***@hotmail.com> a écrit dans le message de news:
1137864999.428767.235***@g44g2000cwa.googlegroups.com...
Show quote
> Take a look at the link below. Notice how the commercials are in the
> center. I need to get all this data from a db and then put it into a
> page. the first commercial is on the left..then the next comercial will
> be to the right of it....Then I go to the next line and start again.
> What is the best way to do this??
>
> http://www.spotbowl.com/default_vote.asp
>
Author
21 Jan 2006 5:48 PM
dfetrow410
How do you tell it to do that??
Author
21 Jan 2006 5:56 PM
ThunderMusic
by searching for the answer, looks like I was wrong...  it's the DataList
control that does the trick...  look at this address (you may have to copy
and paste in your browser)

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebuiwebcontrolsdatalistclasstopic.asp

there is an example at the bottom that does exactly what you need...  lot at
the RepeatDirection and RepeatColumns properties

I hope it helps

ThunderMusic

<dfetrow***@hotmail.com> a écrit dans le message de news:
1137865703.528562.253***@z14g2000cwz.googlegroups.com...
Show quote
> How do you tell it to do that??
>

AddThis Social Bookmark Button