Hi,
Is there a way to strip html from a search result. SQL query goes like : strSQL = "SELECT * from TblPages WHERE Content LIKE @text"
so i want to write content on the webpage, but limited like: <%#Eval("Content").Substring(0, 100)%>
But the content field in the database contains html. Is there a way to strip the html and only keep the words ?
|