StrataFrame Forum

Most 'lightweight" way to search for a value in a table?

http://forum.strataframe.net/Topic8828.aspx

By Keith Chisarik - 5/16/2007

Would you guys agree that populating a datareader and checking the HasRows property is about the fastest way to tell if a table contains a specific value? No SF here due to mobile platform, just straight ADO. Thank you for your opinions.



Boy does mobile programming force you into doing things the most efficient way possible. Good I guess.
By Trent L. Taylor - 5/16/2007

I think that you are going down the right road here.  A DataReader is always going to be extremely fast, so I think you are in good shape.

Boy does mobile programming force you into doing things the most efficient way possible.

Yeah....and cussing a lot BigGrin

By Keith Chisarik - 5/16/2007

ayup, that too for sure.