Home All Groups Group Topic Archive Search About
Author
19 Jun 2005 5:49 PM
Nico
Hi all,

Just started working on my second (small) project.. I want to create a page
that will show some Articles and a pictures wich will be retrieved from a
database..

It got it all (add, deleting, uploading articles,...) working expect for
the page that does the displaying. For now created the page just like I
would in asp... So I have created a routine wiche parses the information
form the database and does a response.write(sDetailPage)...

This works ok but now I'm wondering if there is a real dot netty way to
accomplish this? Wich controls should be used and how can I itterate them
on the page?

rgds,

Nico

Author
20 Jun 2005 1:42 PM
Josh
You want to read up on the DataList and Repeater.  If your not doing any
postbacks from your articles, you might as well go with Repeater.
Author
20 Jun 2005 5:54 PM
Steve C. Orr [MVP, MCSD]
The Repeater control might be a good one.
Then again, if you'd like multiple columns in your layout then the Table
control might be preferable.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net


Show quoteHide quote
"Nico" <N***@NOTVALLD.CCC> wrote in message
news:Xns967AC9B804A59Nomailinternetcom@207.46.248.16...
>
>
> Hi all,
>
> Just started working on my second (small) project.. I want to create a
> page
> that will show some Articles and a pictures wich will be retrieved from a
> database..
>
> It got it all (add, deleting, uploading articles,...) working expect for
> the page that does the displaying. For now created the page just like I
> would in asp... So I have created a routine wiche parses the information
> form the database and does a response.write(sDetailPage)...
>
> This works ok but now I'm wondering if there is a real dot netty way to
> accomplish this? Wich controls should be used and how can I itterate them
> on the page?
>
> rgds,
>
> Nico