title: Convert string to DateTime in DataGridView
body: <p>I have data that on the server is in the form of a <code>smalldatetime</code> but when I return this data to my application it gets returned to me as a <code>string</code>.  This happens for a variety of reasons that don't apply to this question.</p>
  
  <p>What I am trying to do is when this data gets populated in my DataGridView I need to format it as a <code>datetime</code> with just the date no time in the format '<code>mm/dd/yyyy</code>'. I have tried the following but the data remains in the format of '<code>mm/dd/yyyy hh:mm</code>':</p>
  
  <pre><code>this.DataGridView.Columns[7].DefaultCellStyle.Format = "d";
  </code></pre>
  
  <p>How can I format this column of data?</p>