I have this html page and the contents in the page looks like below
I'm trying to fetch the contents in the page into a DataTable and display it to a grid
for example in
<a href='/exodus-5.1/bacon/exodus-5.1-20150612-NIGHTLY-bacon.zip'>exodus-5.1-20150612-NIGHTLY-bacon.zip</a>
I need to get the name of the link as well as the uri too
name : - exodus-5.1-20150612-NIGHTLY-bacon.zip
uri : - /exodus-5.1/bacon/exodus-5.1-20150612-NIGHTLY-bacon.zip
following is what I have ended up
Dim request As HttpWebRequest = HttpWebRequest.Create(url)
request.Method = WebRequestMethods.Http.Get
Dim response As HttpWebResponse = request.GetResponse()
Dim reader As New StreamReader(response.GetResponseStream())
Dim webpageContents As String = reader.ReadToEnd()
response.Close()