Dim Files As String() = System.IO.Directory.GetFiles("c:\temp\temp1") Dim readpages As New ReadingPages() For Each sFile As String In Files If readpages.IsaspxFile(sFile) Then Dim fileCont As String = System.IO.File.ReadAllText(sFile) 'it found something If fileCont.Contains("<body>") = True Then 'I want to read the contents from <body> to </body> End If End If Next
Gain unlimited access to on-demand training courses with an Experts Exchange subscription.Get Access
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.