I'm new to dynamically created controls. I'm trying to create a program in vb.net that will format values in a stringbuilder from dynamically created textboxs. This is the code I've been playing with:\[code\]<aspropDownList ID="lstNumberOfBoxes" runat="server"> <asp:ListItem Value ="http://stackoverflow.com/questions/15671912/1" Text="One" /> <asp:ListItem Value ="http://stackoverflow.com/questions/15671912/2" Text="Two" /> <asp:ListItem Value ="http://stackoverflow.com/questions/15671912/3" Text="Three" /> <asp:ListItem Value ="http://stackoverflow.com/questions/15671912/4" Text="Four" /> <asp:ListItem Value ="http://stackoverflow.com/questions/15671912/5" Text="Five" /> <asp:ListItem Value ="http://stackoverflow.com/questions/15671912/6" Text="Six" /></aspropDownList><br /><asp:Button ID="btnSubmit" runat="server" Text="Create TextBoxes" /><br /><br /><asplaceHolder ID="txtboxplaceholder" runat="server" /> <br /> <asp:Button ID="btnCalc" runat="server" Text="Button" /> <br /> <asp:Literal ID="litResults" runat="server"></asp:Literal></div></form>\[/code\]And code behind:\[code\] Protected Sub btnSubmit_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnSubmit.Click Dim value As Integer = lstNumberOfBoxes.SelectedValue For i = 0 To value - 1 Dim _TxtBox As New TextBox Dim _spacer As New Literal _spacer.Text = "<br /><br />" _TxtBox.ID = "txt_" & i _TxtBox.Text = " Text box " & i + 1 txtboxplaceholder.Controls.Add(_TxtBox) txtboxplaceholder.Controls.Add(_spacer) NextEnd Sub\[/code\]this creates the number of textboxes and works greatthis is where i'd like to retrieve the values from the textboxs however I don't understand how to grab text from an individual textbox\[code\] Protected Sub btnCalc_Click(sender As Object, e As System.EventArgs) Handles btnCalc.ClickDim SB As New StringBuilderSB.Append('dynamically created textbox1...) Me.litResults.Text = SB.ToStringEnd Sub\[/code\]I know this is pretty basic but I can't wrap my brain around it, any help is greatly appreciated!