I think this might be faster.
licenceTable.DefaultView.RowFilter = "DriveKey = '" + selectedKey + "'"
For Each row In licenceTable.DefaultView
row("Location") = selectedLocal
Next
Just remember to set the RowFilter to nothing before referencing the
default view again.
licenceTable.DefaultView.RowFilter = Nothing