Updating rows in DataTable - why isn't this working? <p>I'm trying to update fields in a DataTable. The field I'm trying to edit is a date, I need to format it.</p> <pre><code>foreach (DataRow row in dt.Rows) { string originalRow = row["Departure Date"].ToString(); //displays "01/01/2010 12:00:00 AM" row["Departure Date"] = DateTime.Parse(row["Departure Date"].ToString()).ToString("MM/dd/yyyy"); string newRow = row["Departure Date"].ToString(); //also displays "01/01/2010 12:00:00 AM" } </code></pre> <p>How come this isn't getting updated?</p>