views:

173

answers:

0

Hmmm -

I'm using BindingSource.Find to return to the user's position after refreshing a DataGridView. I use BindingSource.Find and a RowID as the DataColumn I'm searching on. Unfortunately, Oracle can return two RowIDs that differ only in their case.

BindingSource.Find returns the first match regardless of case.

Looking at the MSDN docs:

public int Find(string propertyName, Object key)

it says that the propertyName comparison is case-insensitive, but does not mention whether the key comparison is.

Does anyone know how to make BindingSource.Find case sensitive?