Reputation: 231
I've parsed a string with HTML to a HtmlAgilityPack.HtmlDocument, but I can't seem to convert it back to a string.
Dim Document As HtmlAgilityPack.HtmlDocument = New HtmlAgilityPack.HtmlDocument()
Document.LoadHtml(Result)
Upvotes: 2
Views: 1393
Reputation: 1184
you can use the InnerHTML
Dim html As String
html = Document.DocumentNode.InnerHTML
Upvotes: 3