B
Brian Pittman
Hi,
How do you go about obtaining the text typed in a dynamic textbox when the
submit button is clicked.
Thanks Brian
'Add textbox to controls collection
Dim txtTextBox as TextBox = New TextBox
With txtTextBox
.ID = 'I assign this value from a database
.Text = ""
End With
pnlTest.Controls.Add(txtTextBox)
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
'Capture dynamic textbox value here. How?
End Sub
How do you go about obtaining the text typed in a dynamic textbox when the
submit button is clicked.
Thanks Brian
'Add textbox to controls collection
Dim txtTextBox as TextBox = New TextBox
With txtTextBox
.ID = 'I assign this value from a database
.Text = ""
End With
pnlTest.Controls.Add(txtTextBox)
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
'Capture dynamic textbox value here. How?
End Sub