quando cliko su update mi da il segente errore...

"Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index "



Sub dgModifica_Edit(ByVal sender As Object, ByVal e As DataGridCommandEventArgs)
dgModifica.EditItemIndex = e.Item.ItemIndex

End Sub

dgModifica.EditItemIndex = 0 in quell'istante ... come mai e pure la griglia è popolata???