When in edit mode my datagrid displays textboxes in several columns of the editable row. In my update command procedure the text property of the textboxes all appear as "" even though data has been entered. Please could anyone suggest what is causing this. I don't believe that this is an issue with how I reference the text box because doing a watch on e.Item.Cells shows the value in all the textboxes as "", and I have succesfully used datagrids before however below is a code snippet just in case I'm losing the plot....

Code snippet:
Private Sub dtgDataEntry_UpdateCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles dtgDataEntry.UpdateCommand
Dim txtWork As New System.Web.UI.WebControls.TextBox

txtWork = CType(e.Item.Cells(1).Controls(1), TextBox)