hkucsis
12-13-2003, 04:28 AM
Hi,
I need to build a web-based application (ASP) that is similar to a dictionary. A user types in many words (range from 1 to serveral hundreds) and then I need to find out (one by one) whether these words exit in my database.
The words are already stored in SQL Server and my question is whether I should:
1. use a SQL statement to retrieve the words one by one (eg. a 300-word input means 300 querys)
2. use a dictionary object to first retrieve all the words from SQL server and then the user query the dictionary object
I have never used the dictionary object and hence don't know whether it is a good option in my case.
Thanks.
Michael
I need to build a web-based application (ASP) that is similar to a dictionary. A user types in many words (range from 1 to serveral hundreds) and then I need to find out (one by one) whether these words exit in my database.
The words are already stored in SQL Server and my question is whether I should:
1. use a SQL statement to retrieve the words one by one (eg. a 300-word input means 300 querys)
2. use a dictionary object to first retrieve all the words from SQL server and then the user query the dictionary object
I have never used the dictionary object and hence don't know whether it is a good option in my case.
Thanks.
Michael