title: How can I pass a null value for date in vb.net to sql stored procedure?
body: <p>My application is asp.net with vb. </p>
  
  <p>In my page I have a textbox for passing date. If I didn't enter date and on clicking submit, I have to pass null value to the stored procedure. </p>
  
  <p>I tried following codes such as <code>DBNull.Value</code> and <code>DateTime.MinValue</code>. In that case instead of null, <code>"#12:00:00#"</code> is passing. I have to pass Null. </p>