title: Passing NULL Value to Stored Procedure Through C#
body: <p>I have an update class in my MVC Web App to update a field from the front end. This calls an procedure on the database which updates the cell in the table. (Note: This column can accept NULL values)</p>
  
  <p>If I set this in my C# code then it work as it checks to see if a NULL is passed in the front end and replaces it with an empty string (a space could also work):</p>
  
  <pre><code>update.Value = dataModel.Value == null ? string.Empty : dataModel.Value;
  </code></pre>
  
  <p>However, when I query the database table, it's not setting NULL value in the cell but just a blank. How can I pass a NULL value into the procedure through the C# code?</p>