Several days ago, I tried using Find/FindRows to find a row in a DataView.
Checking MSDN, I found that these methods requested an object that is the key to use.
I used the DataTable’s key, but the row was not found even though it was in the DataView.
After some investigation using Reflector, I found that the key requested was actually the column used for sorting the DataView. Once there is no custom sort order, the key used is the DataTable’s key.
Anyone got any idea why the heck this is?