<%
string[] b = new string[a.Length];
int y = -1;
for (int i = 0; i < a.Length; i++)
{
y++;
if (y != 3)
{
b[i] = "<asp:Image ID=\"Image" + i + "\" runat=\"server\" ImageUrl=\"" + a[i] + "\" />";
}
else
{
b[i] = "<br><asp:Image ID=\"Image" + i + "\" runat=\"server\" ImageUrl=\"" + a[i] + "\" />";
y = -1;
}
Response.Write(b[i]);
}
%>
Das gibt nichts aus was mach ich falsch???
mfg hannes
Doch, ausgegeben wird da schon etwas, nur nicht das Bild. Wenn Du Controls dynamisch erstellen möchtest, musst Du das mit einem Placeholder machen.