Assumung you datagrid is called dataGrid1 your code would be
int row = dataGrid1.CurrentCell.RowNumber;
int column = dataGrid1.CurrentCell.ColumnNumber;
you can add this to the onchanged or onselectionchanged event on the datagrid. you can also find out rowNumber and ColumnNumber with the eventargs btw.