How can we pass a empty Value to dateTime Parameter to a stored procedure from c#
<p><a href="https://i.stack.imgur.com/yuJh5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yuJh5.png" alt="ERROR"></a>How can we  pass a empty Value to dateTime Parameter to a stored procedure 
EndDate=null:</p>

<pre><code>da.SelectCommand.Parameters.Add("@EndDate", SqlDbType.DateTime).Value = EndDate
</code></pre>