Convert DateTime in DataRow to a formatted date string
<p>I'm hoping that there is something I am not seeing clearly, but to simplify, I have the below code</p>

<pre><code>foreach (DataRow row in dt.Rows)
{
  row["StartOn"] = Convert.ToDateTime(row["StartOn"].ToString()).ToString("MMM dd").ToString();
}
</code></pre>

<p>If I run the below code I get “Aug 09”</p>

<pre><code>Convert.ToDateTime(row["StartOn"].ToString()).ToString("MMM dd").ToString();
</code></pre>

<p>If I look to see what is in row[“StartOn”] after this change it contains “8/9/2016 12:00:00 AM”</p>

<p>I'm unable to format my DataRow to an "MMM dd" format</p>