redheadpgr
Programmer
I have a column in a datagrid that is a template column. When the user clicks EDIT on the row, the user can then edit data in the textbox in that row.
When they click UPDATE, the program executes the following code:
The trouble is that when this code executes, the txtTextBox.Text is holding only the original text and not the edited text. Any clues?
I'm sure this is something simple.
Thanks in advance for your help.
When they click UPDATE, the program executes the following code:
Code:
Dim txtTextBox as TextBox
Dim strText as String
txtTextBox = e.Item.FindControl("txtSomeTextBox")
strText = Trim(txtTextBox.Text)
I'm sure this is something simple.
Thanks in advance for your help.