Click here to Skip to main content
15,887,854 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
How to implement a search facility that will search results from database (all fields in a particular table) and various web pages and in a network or through internet search from Google search engine? I have tried this.

The user will enter a word in the search text box
I will search for it in a particular field of a particular table using 'like'
Posted
Updated 10-Oct-13 4:28am
v3
Comments
Eduard Keilholz 10-Oct-13 10:16am    
What have you tried already?
TryAndSucceed 10-Oct-13 10:18am    
What are you searching for? What is the data which you will find in your database and over internet?
Hemant Singh Rautela 10-Oct-13 10:46am    
Use googel custom search engine...
:-)

If your web site is live, you can utilise a google search box to do this. If not, you need to write code.
 
Share this answer
 
I agree with Christian Graus[^] and still if you want to do it manually only on your database then....

Let make your sql query easier.
Get Necessary Tokens from sentence.

Ex.
"What is session in C#??" tokens : Session,C#.
"What is WCF webService & how to implement it?" tokens : WCF,WebService,implement.
(I have done this once my project)

And then fire query with "like" in sql.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900