HTML parsing

Jobin
Posted by Jobin under ASP.NET category on | Points: 40 | Views : 1259
Imports HtmlAgilityPack

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim paths As String = "http://www.dotnetfunda.com/post/postcode.aspx"
Dim webs As HtmlAgilityPack.HtmlWeb = New HtmlWeb()
Dim doc As HtmlAgilityPack.HtmlDocument = webs.Load(paths)
Dim HtmlDesign As String = doc.DocumentNode.OuterHtml
End Sub

Comments or Responses

Login to post response