I have an application that the files are stored in a directory. I would like to create a C# page were a user can enter in specific text and the application would read the entire directory and return the file names and line numbers where the text occurs. This is to help users find the information for. So an example out put, possibly in a list view or grid view would be like this:
X files found
Any ideas of where I might find a starter sample? http://www.codeproject.com/Articles/7296/Reading-Files-in-ASP-and-How-to-Search-for-a-parti
Here is one that is in VBScript that works, but i need to convert the code to C#. Didn't want to reinvent the wheel here.