title: Why C# convert date time format when query from db
body: <p>When I get data from Mysql table the datetime column <code>2017-09-19 16:14:47</code> will automatically convert into its own format like <code>9/19/2017 3:45:50 PM</code>. It happens when I'm getting data into <code>DataTable</code> and convert into string as follows:</p>
  
  <pre><code>DataTable update;
  localdb.MysqlQuery(queryUpdate);
  update = localdb.QueryEx();
  
  if (update.Rows.Count &gt; 0)
  {
      onlinedb = new DataAccessOnline();
  
      foreach (DataRow row in update.Rows)
      {
          row["added"].ToString(); //9/19/2017 3:45:50 PM
  </code></pre>
  
  <p>but I need get this value as it is in TABLE column <code>2017-09-19 16:14:47</code> how can I do that ?</p>