how to get the text content of html

Axel

New Member
How to get the text content of html in asp.net?I wrote the following code in asp.net but it gave me the html not text?code are here : \[code\]Function GetData(ByVal dta As String) Dim comp As New Literal comp.Text = dta Return comp.TextEnd Function\[/code\]For example :input : \[code\]<span><p> this is html </p></span>\[/code\]output should be : this is html
 
Back
Top