If you grab a copy of .NET Reflector, you can actually take a look at the
decompiled source of the Framework Class Library. The FindRow(...) method
does, indeed. work with indexes, and it's not a mere loop iteration. It also
leads to shorter, more readable code.
--
Chris Jackson
Software Engineer
Microsoft MVP - Windows Client
Windows XP Associate Expert
--
More people read the newsgroups than read my email.
Reply to the newsgroup for a faster response.
(Control-G using Outlook Express)
--
"Alvin Bruney" <vapor at steaming post office> wrote in message
news:uw******** ******@TK2MSFTN GP12.phx.gbl...
Anybody know for sure if the data table find is faster than building a
loop
routine. I'm thinking the find is syntactic sugar because it can't really
build an index table can it? But then again what is the primary key for if
it doesn't really build a table. I suspect it is more for filling the
datakeys and isn't really related to the index. But then again...
--
Regards,
Alvin Bruney
Got tidbits? Get it here...
http://tinyurl.com/3he3b