Display News Articles

  • Thread starter Thread starter mmm0987
  • Start date Start date
M

mmm0987

I've migrating from classic asp to asp.net 2.0. How do I display data
from an database but not display it in a structured order. I have news
articles that I want to disply but not in a datagrid, I want them
scattered around the page, like this:

http://news.bbc.co.uk/


In classic asp I would use 'movenext'. How do I do this with asp.net
2.0


Thx
 
I'd consider using a Table control, or perhaps nested Panel controls, or
even both.
You might also consider mixing in HTML spans if needed.
It depends a lot on exactly how flexible and configurable you need the
display to be.
 
I will be using CSS for the layout of the articles, I'm just a bit
unsure on which control to use that would allow me to be so flexible
with my layout.

Do I use several separate detailviews or is there some way to have such
a fliexible display of data using a repeater?
 
I'm not sure there is a control that's good for that. You might consider
making your own that outputs a series of spans of differing widths.
 
Back
Top