Display News Articles

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
 
S

Steve C. Orr [MVP, MCSD]

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.
 
M

mmm0987

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?
 
S

Steve C. Orr [MVP, MCSD]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top