I am frustrated. I have placed all the code I thought I needed to perform an update to a datagrid. I am using the build in In-Line editing with the UpdateCommand.


Everything is ok until the update command fires. When the data is grabbed from the text boxes it is the OLD data.

Here is an example:

Text1 before the edit = "Jones"

Text1DureingEdit "Brown"

Text1 during the update command= "Jones"

It ignores "Brown" and keeps the old data.

Here is my code.

dr("ccLName") = CType(dgi.Cells(3).Controls(0), TextBox).Text

Is this a bug?