Schema.ini DateTime DGV Date or String ?
I am importing a .txt file to a gatagridview and writing out a Schema.ini file
My columns that contains a date value is empty in my DGV when i use the:
DateTime in my .ini file
If I set it to Char then my date is populated
Does this mean my dates in the text file are not really dates but strings ??
Re: Schema.ini DateTime DGV Date or String ?
text files are strings, so your dates in your file are string representations of a datetime
Re: Schema.ini DateTime DGV Date or String ?
Thanks Paul that would make sense
I added the DateTimeFormat= yyyy-mm-dd line in my schema file and it works
I thought I could set the format it came in and was doing dd-mm-yyyy