<asp:repeater id="DataInputTableElements" datasource=<%# items %> runat="server"> <itemtemplate> <tr> <th> time<%# Container.DataItem %> </th> <td> <asp:textbox id="TextBox1" cssclass="TextInput" runat="server" /> </td> <th> time<%# Container.DataItem %> </th> <td> <asp:textbox id="TextBox2" cssclass="TextInput" runat="server" /> </td> </tr> </itemtemplate> </asp:repeater>Then to iterate through the Textboxes inside the repeater you would use the foreach loop like below:
foreach (RepeaterItem ri in myRepeater.Items) { // get the txtbox TextBox txt = ((TextBox)ri.FindControl("myTextbox")); }>All,