Takhir
July 23rd, 2006, 08:37 PM
I have a huge collection of JPEG files, it contains different themes. Each theme looks like a set of JPEG files, from tens to hundreds. The HTML of each page, reproducing these files as small images, looks like a repeated <a>...</a> code, smth like this:
<td><A href="/images/A/01.JPG"><IMG id="im_04" src="/images/A/01.JPG"></A></td>
<td><A href="/images/A/02.JPG"><IMG id="im_03" src="/images/A/02.JPG"></A></td>
....
I need to provide a ASP.NET code (in C#) for these lines, that should looks like a cycle, which writes in HTML the incremented <a>..</a> tags. I don't want to do it manually in HTML, I know the number of JPEG files to be represented, so I know the number of cycle iterations in C# code.
How can I do it?
P.S. Probably, in HTML in will not look like an amount of <a></a> tags.
<td><A href="/images/A/01.JPG"><IMG id="im_04" src="/images/A/01.JPG"></A></td>
<td><A href="/images/A/02.JPG"><IMG id="im_03" src="/images/A/02.JPG"></A></td>
....
I need to provide a ASP.NET code (in C#) for these lines, that should looks like a cycle, which writes in HTML the incremented <a>..</a> tags. I don't want to do it manually in HTML, I know the number of JPEG files to be represented, so I know the number of cycle iterations in C# code.
How can I do it?
P.S. Probably, in HTML in will not look like an amount of <a></a> tags.