I don't totally understand what you are trying to do with
the binary search, do just want an quick root to your
data, if so you should use the Contains or Find method of
the Rows object but this will search through all the
columns, there is no way you can say search in this
column, if you want to do this then I would change the
code so it contains one column or hold an arraylist which
points to the datatable recordset row and in the arraylist
use the IndexOf method which will search through arraylist
for column value and return the index of the item in the
arraylist, you then can use this to find your data in the
DataTable.
Thanks,
-----Original Message-----
Thanks again. That is a much better tool than the one I
wrote. It was a fun project, finding all the references,
but I did not include the ability to jump back into my
code and this tool does it.
BTW - I have another problem that I have not been able to
find in the doc. I want to do a binary search on a column
in a dataset that has been previously loaded. It seems
that the binary search method only works for arrays.
There has to be an easy way. Any clues?