Hi,
DataGrid.SelectedIndex.
from MSDN:
Remarks
Use the SelectedIndex property to determine the index of the item selected
by the user in the DataGrid control. You can also use this property to
programmatically specify which item is selected in the DataGrid control.
To deselect an item in the DataGrid control, set this property to -1.
Hope this help,