codice:
'...........
Sub Dtg_ItemCommand(Obj as Object, e as DataGridCommandEventArgs)
Dim MyInt as Integer = E.Item.ItemIndex
Obj.DataKeys(MyInt)
End Sub
'...........



<ASP:DataGrid ......
OnItemCommand="Dtg_ItemCommand">