title: Set SQL DateTime to Empty/Nothing in vb.net
body: <p>I have a <code>Date</code> column in SQL (of <strong>DateTime</strong> datatype). For a particular scenario, I need to show it as blank in my browser. I tried</p>
  
  <pre><code>Dim DOB As Nullable(Of Date) = Date.Now
  Dim datestring As String = DOB.Value.ToString("d")
  DOB = Nothing
  </code></pre>
  
  <p>But it gives me error saying <code>DateTime was not in a proper format</code>.</p>
  
  <p>What is wrong here?</p>