I don't want to remove html tags from from the html page. I want to save as it is into
Sql Data Table column. I don't want the whole html page. I want to save the body tag contents in the sql column(data type nvarchar(max)) Any suggestions please.
The following query inserting the HTML page content into Sql DataTable
when the page_Details column type declared as (XML(.),null(The content
inside the body tags in .aspx page was saved as xml file)
Ex:<PageContents>
- <![CDATA[
<div>
</div>
]]>
</PageContents>
Now the page_Details column type declared as (nvarchar(max). The below
query is not inserting data.The column type can not be changed. How to
insert the html data there.
Where exactly the HTML Page is getting loaded?