A few questions I think will clarify your question:
1. exactly what do mean by "id:" the TextBox's 'Name property ?
2. text in the TextBoxes is going to be changing: correct ?
3. when you say "store the text of the text boxes:" do you mean:
a. to create a string containing all text of all the TextBoxes ? I'd assume not.
b. then, assuming you want to store each TextBox's text somewhere:
1. where is that somewhere: a file, an internal data structure on the server, or ?
2. what form of storage: a List<string> : or ?
... edit : realized the solution I presented was far too elaborate for this simple case ...
List<TextBox> TBList = new List<TextBox>();
TextBox newTB;
/
for (int i = 0; i < 10; i++)
{
newTB = new TextBox {
Name = "TB_" + i.ToString(),
Text = "some text for item " + i.ToString() };
TBList.Add(newTB);
}
string tb4TextByIndex = TBList[4].Text;
... end edit ...
best, Bill