I have a string "sex, nov 6"
and need to convert to DateTime
.
I'm doing it this way:
DateTime datetime =
DateTime.Parse(gridT.Columns[e.ColumnIndex].HeaderText.ToString());
But it is not working.
How can I do this conversion?