469,945 Members | 2,353 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,945 developers. It's quick & easy.

ASP.Net - Repeater Control - 3 Columns - Unlimited Rows

Hi,

I wanna list my stocks in a web page according to search result, this
listing must be in a (3 columns and unlimited size) table, what I wanna list
in a cell is stock name, stock price and stock picture

I tried repeater control but it list data only row by row I think, I couldnt
make first 3 datarow in first row, and second three row in second row,

Data comes from a table, and paging is a must, Something like this >>>

------------------------------------------------------------------------------
Stocks
------------------------------------------------------------------------------
Stock 1 Stock 2 Stock 3
10,56 USD 20 USD 30,11 USD
Picture Picture Picture

Stock 4 Stock 5 Stock 6
10,56 USD 20 USD 30,11 USD
Picture Picture Picture

Stock 7 Stock 8 Stock 9
10,56 USD 20 USD 30,11 USD
Picture Picture Picture
------------------------------------------------------------------------------
1 - 2 - 3 - 4 - 5 - 6 - 7 - Paging - Next....
------------------------------------------------------------------------------

How can I do this ? Repeater o anoher way ?

Thank you
May 17 '07 #1
1 3697
Hi,
"Peggy" <Pe***@aaa.aawrote in message
news:un**************@TK2MSFTNGP06.phx.gbl...
Hi,

I wanna list my stocks in a web page according to search result, this
listing must be in a (3 columns and unlimited size) table, what I wanna
list in a cell is stock name, stock price and stock picture
You will have to convert your data source to the way you want to see it, a
quick and dirty solution would be to create one class with three properties,
one per stock and create a list of them, bind the repeater to that list.
I tried repeater control but it list data only row by row I think, I
couldnt make first 3 datarow in first row, and second three row in second
row,

Data comes from a table, and paging is a must, Something like this >>>
IIRC repeater does not implement paging, you would have to implement it,
(not rocket science anyway) or you could use a Datagris instead
May 17 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by MattB | last post: by
reply views Thread by Michael | last post: by
8 posts views Thread by I am Sam | last post: by
1 post views Thread by ratnakarp | last post: by
4 posts views Thread by Dennis E. Jones, Jr. | last post: by
1 post views Thread by Peggy | last post: by
3 posts views Thread by Emma Middlebrook | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.