troubleshooting Question

Is it fairly easy to find a word in a html file from a c# reader program?

Avatar of freezegravity
freezegravity asked on
ASP.NETWeb Applications
5 Comments1 Solution200 ViewsLast Modified:

I want to add a custom "Search" functionality on a website that I am working on. Is it fairly easy to do?

I would think the logic on the called page (once the user hits the "search" button) would be:

Take the item that was searched for;
For (every page in the website) {
        For every instance of item found on webpage {
               Save page name of where you found the webpage
               Select the section (<p> or <div>) tag surrounding the search_word
               Display the section, Display the link

Is this something an ASP.Net C# 2005 page can handle? What would be some of the functions/methods I'd need?


Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros