Repost: variable number of pictures to be shown

S

Shelly

I want to display an array of pictures and I don't know beforehand how many
there are in the array. I want there to be up to four pictures in a row
(all the same size, of course), aligned to the left. When the fifth picture
appears, it would start the next row.

Someone suggested the datagrid control, but I don't see how to use that one
here. I am asking how to code the visual aspect of the page so that it will
handle the variable number in the manner I want. As far as specifying the
source of the pictures, I can do that in the Page_Load.

I know this is aspx and vb, but the way I did it in php was to created a
string (in php) containing all the html when I was loading the page, and in
the appropriate place in the html <body> I merely echoed (wrote) that
string. How do I do it here?
 

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,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top