Property AutoGenerateColumns is set in true.
Column with date could have different indexes.
OracleDataAdapter adapter = new OracleDataAdapter();
DataTable tableD = new DataTable();
tableD.Locale = System.Globalization.CultureInfo.InvariantCulture;
adapter.SelectCommand = oracleCom;
adapter.Fill(tableD);
tableResults.DataSource = tableD.AsDataView();
tableResults.DataBind();
Columns with date type values are get from different tables in db. And they have different names.
I would use
RowDataBoundto format your columns.Standard Date and Time Format Strings
If
AutoGenerateColumnswould set tofalseyou could use theDataFormatStringproperty on theBoundFieldsinstead.