cyclonebri
Regular
Hey everyone. I was wondering if there is a quick and painless way of getting the data entered by the user in the textboxes that are generated in a datagrid when the edit button is clicked?
In other words, I have used the editor to create an edit/update/cancel button column, and have hardmapped all the other columns in the designer, without editing the HTML.
I therefore have no idea what the textboxes in the columns are named or what their ID is, so I can't do a find control on them. I can get the original values using this line:
Visual Basic:
m_myOldVals(0) = m_myDS.Tables(0).Rows(e.Item.ItemIndex).Item("AccountStatus")
now all I need to do is get the values as added by the user in the generated textboxes, and I can perform the actual update. Any help would be greatly appreciated.
In addition, I have also tried the following but it did not work:
Visual Basic:
m_myNewVals(0) = e.Item.Cells(0).Text
Thanks in advance for any help!
Brian