Last post May 17, 2018 10:24 AM by mgebhard
May 17, 2018 08:51 AM|whisky|LINK
Can't seem to find this on GOOGLE for webforms.
I have a web form and I need to search a specific directory for all files containing a specific word and show the name of the file and what comes after that word.
So, if i need to search for word Firstname: and i find a file with Firstname: i need to display Firstname: John Smith.
Any help will be appreciated.
May 17, 2018 10:24 AM|mgebhard|LINK
This is not a web forms function. File APIs are in the System.IO namespace. https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/linq/how-to-query-the-contents-of-files-in-a-folder-lin