MVC - Allow HTML to be inserted and updated in a SQL database

by
Jeremy Canfield |
Updated: March 20 2020
| MVC articles
The following will need to be added to the top of the Controller.
using System.Web.Mvc;
Then add [AllowHtml] before the public string.
[AllowHtml]
public string column_name { get; set; }
Did you find this article helpful?
If so, consider buying me a coffee over at