Click here to Skip to main content
15,917,538 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to know the code for a search application. Means i want to use that code by which any one can search a keyword in a website.
Posted

The easy way is do a google search, ending with "site:<website>"
Exclude the "http://" bit, so a search restricted to codeproject would be:
string search = "arvind_saini site:www.codeproject.com";
Feed that with the google address to a webbrowser control, and there you are.
 
Share this answer
 
It would involve indexing of the database tables properly.

Further, read these articles:
http://www.codewalkers.com/c/a/Database-Articles/Creating-a-Search-Application/[^]

This one is a nice Tech report on the same:
http://www.dbis.ethz.ch/research/publications/appdatatechrep.pdf[^]
 
Share this answer
 

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