o_ramos_pt
04-23-2007, 11:03 AM
hy there i would like to know, how to i read values from a textbox that was generated automatic by a script, this was madde by vb.net
Dim i As Integer
Dim numtexts As Integer = TextBox1.Text
For i = 1 To numtexts
Dim t As New TextBox()
t.Text = "TextBox" & i.ToString()
t.ID = "TextBox" & i.ToString()
Panel1.Controls.Add(t)
Panel1.Controls.Add(New LiteralControl("<br>"))
Next i
Dim i As Integer
Dim numtexts As Integer = TextBox1.Text
For i = 1 To numtexts
Dim t As New TextBox()
t.Text = "TextBox" & i.ToString()
t.ID = "TextBox" & i.ToString()
Panel1.Controls.Add(t)
Panel1.Controls.Add(New LiteralControl("<br>"))
Next i