I would like to set the selected row for a DataGrid in code. I have some DataTable's default views bound to DataGrid's. I am comparing both DataTable's for differences cell by cell (same table structure) and want to update the DataGrid's cell background color where the difference occurred. I have a unique key in the data. So I want to set the selected row in code where Col A is equal to a specified value. I already have code that will take the selected row and index Col so I can hit the cell. But I need to pro-grammatically set the selected row for the DataGrid in code where Col A is equal to a dynamic value specified in code. Everything I am seeing is how to do this on an event but I need to be able to do this in code without an event being fired on the DataGrid. I am not allowing sorting on the DataGrid so re-ordering wouldn't pose any issues.