Hi,
I want to convert HTML content into plain text.
Here is my code:
Context.EntityName.Where(x=>x.Name=="Test").select(x=> new ModelName { Title = x.Content });
Please give me some idea to convert HTML text to plain text.
Home / DeveloperSection / Forums / How to convert html text to plain text in C#?
Hi,
I want to convert HTML content into plain text.
Here is my code:
Context.EntityName.Where(x=>x.Name=="Test").select(x=> new ModelName { Title = x.Content });
Please give me some idea to convert HTML text to plain text.
Hemant Patel
21-Mar-2018Hi Ethan,
I analyzed your code. Write your code as follows to convert HTML content to plain text.
I hope it's informative!!!