Now I could change the data format into how I wanted it to be but I don't understand how to insert that into the Datagrid to display as such??
[ds is my dataset]
foreach (DataRow r in ds.Tables.Rows)
string dateString1 = r["First_Resurvey_Date"].ToString();
string  dateStringArray= dateTime.GetDateTimeFormats();
r["First_Resurvey_Date"]= dateStringArray; [This doesn't work, I cannot just assign the specific value to a datagrid row/cell......I need help on how to do that] [dateStringArray, gives the date format as dd-MMM-YY, which is how I want to display my date in the application]
DataView view = ds.Tables.DefaultView;
resultsDatagrid.DataSource = view;
resultsDatagrid.Visible = true;
Thank you .