<% for (int i = 1; i <= 16; i++)
{
cami = i;
cami++;
//DataBind();
%>
<cam:CamControl ID="Cam1" CamID=<%# dcami(cami) %> runat="server" />
<% } %>
views:
138answers:
1
+1
A:
Have a look at this great 3-part post about dynamic controls. There's also a follow-up post with downloadable example code.
Graham Clark
2009-08-21 09:49:52