Apr 17, 2008 05:20 AM|DiscernIT|LINK
add a new web user control to your project.
in the user control use a repeater or (a perhaps a datalist), stick a textbox in, bind to a datasource:
<asp:Repeater ID="Repeater1" runat="server">
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Eval("MyDataField") %>'></asp:TextBox>
alternatively you could have a propery on your web control that specifies the number of textboxes. use that number in code to populate the repeater with textboxes (could be done by binding the repeater to a dummy datasource (eg xmldocument or blank array)
of that many items)