In sql the date column is =01.10.2017(startingdate) and i am getting this date to datagridview1
. But datagridview showing this date as 1.10.2017. I can't find my mistake.
This is the I code I'm using:
public void veri_getir(string veriler)
{
SqlDataAdapter da = new SqlDataAdapter(veriler, con);
DataSet ds = new DataSet();
da.Fill(ds);
dataGridView2.DataSource = ds.Tables[0];
}
veri_getir("Select startingdate from datetable");