title: datatable datetime column dont have milliseconds
body: <p>I have a date time value as yyyy-MM-dd HH:mm:ss.fff in my database column.</p>
  
  <p>But when I get that into a .net datatable, and get it as DateTime...I am not getting the milliseconds part.</p>
  
  <p>Is there any type of casting that I am missing ?</p>
  
  <pre><code>Convert.ToDateTime(dtRow[colIndex])
  </code></pre>
  
  <p>This is my code, where dtRow is a particular column in my data table.</p>
  
  <p>Edit:</p>
  
  <pre><code>String.Format("{0:yyyy-MM-dd HH:mm:ss.fff}", Convert.ToDateTime(dtRow[colIndex]))
  </code></pre>
  
  <p>"2014-07-28 15:18:43.000"</p>
  
  <p>where actual value is "2014-07-28 15:18:43.866".</p>
  
  <p>Thanks!</p>