|
-
Dec 1st, 2011, 07:00 PM
#1
Thread Starter
Frenzied Member
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 ??
-
Dec 2nd, 2011, 12:56 AM
#2
Re: Schema.ini DateTime DGV Date or String ?
text files are strings, so your dates in your file are string representations of a datetime
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
-
Dec 2nd, 2011, 02:19 AM
#3
Thread Starter
Frenzied Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|