title: posting html code to MySQL database in asp.net mvc 4
body: <p>I have a textarea on my page, and I want to type html into it and post it into my database, but I'm not sure how to convert it to a string where it will post into the DB.</p>
  
  <p>It looks like in PHP, you use  mysql_real_escape_string()...but I'm not sure how this would work in C#.</p>
  
  <p>Is there something similar in C#?</p>
  
  <p>I'm not using Entity Framework or linq2sql...I'm just passing the value of the textarea to the controller method and posting it to the DB with just straight SQL -> INSERT command.</p>