D
Darren Clark
I am trying to set the default value (not mistaken for NULL value) for a datetime element of a typed dataset.
<xs:element name="create_date" type="xs:dateTime" codegen:nullValue="1980-01-01T00:00:00" default="1980-01-01T00:00:00" />
except i get the following error message
Custom tool error: Failed to generate code. Invalid Primitive Type: System.DateTime. Only CLS compliant primitive types can be used. Consider using CodeObjectCreateExpression.
1980-01-01T00:00:00 should convert to a valid datetime....
what am i doing wrong?
<xs:element name="create_date" type="xs:dateTime" codegen:nullValue="1980-01-01T00:00:00" default="1980-01-01T00:00:00" />
except i get the following error message
Custom tool error: Failed to generate code. Invalid Primitive Type: System.DateTime. Only CLS compliant primitive types can be used. Consider using CodeObjectCreateExpression.
1980-01-01T00:00:00 should convert to a valid datetime....
what am i doing wrong?