Hi guys.
I have a two-dimensional list. I need to see if a value is existing on the third column of each row. Just like searching a table with the third column as the index key.
Do you read each row checking the specific column? Or is there a method or function that will do it.
The value of this list is coming from a result set. Rather than keep on querying the sql-server, I am implementing it as a two-dimensional list. It's a limitation, so i don't have much choice.
If there are no methods or function that will do the search on the list, then I have to read each row. Would it make sense then that I just read the search the result set, reading each row, than putting implementing this on a two-dimensional list?
Thoughts?
-- CK
I have a two-dimensional list. I need to see if a value is existing on the third column of each row. Just like searching a table with the third column as the index key.
Do you read each row checking the specific column? Or is there a method or function that will do it.
The value of this list is coming from a result set. Rather than keep on querying the sql-server, I am implementing it as a two-dimensional list. It's a limitation, so i don't have much choice.
If there are no methods or function that will do the search on the list, then I have to read each row. Would it make sense then that I just read the search the result set, reading each row, than putting implementing this on a two-dimensional list?
Thoughts?
-- CK
Comment