trueneutral
Programmer
I’m having some trouble with the Update function in my datagrid. It doesn’t seem to be getting the data from the textboxes for some reason, and I can’t understand why at all. Here’s the snippet of code where I try to get the data from the textbox.
That should work, but it doesn’t. Anyone have any ideas?
Code:
Dim itemValue = CType(e.Item.FindControl("txtBoxItem_Value"), TextBox).Text
Dim itemComments = CType(e.Item.FindControl("txtBoxItem_Comments"), TextBox).Text
That should work, but it doesn’t. Anyone have any ideas?