SELECT is only one way to find things in a DataTable, but that's a side
issue. Anyway, your question is kind of hard to answer for the following
reason. A dataTable my have X columns whereas a hashtable has multiple
constructors and may contain one, two three effective columns. I haven't
ever run direct comparisons, but if you only have a key and a value, I'm 99%
that a HashTable would be faster b/c it's not necessarily comprised of
DataColumns which have many more properties than say in Integer. They both
implement IList, but in instances where you are only dealing with one or two
'columns' hash tables are probably quicker. On the other hand, the number
of items has a huge bearing b/c if you are only dealing with 5 values,
they'll both probably perform faster than you can notice the nuances. A
DataTable is a bad boy and has tons of power, but if you don't need features
like AutoIncrement values, a HashTable would probably be quicker.
Just for the record, how many records are you planning on dealing with? I'd
be glad to run a few comparison and see how profound the differences are.