This is a migrated thread and some comments may be shown as answers.

[Solved] DataType DateTime

1 Answer 127 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Carsten
Top achievements
Rank 1
Carsten asked on 08 May 2009, 03:42 PM
Hello,

I think something is going wrong with my controls. If I try to set the min date or get the selected date, I get an error because of the datatype. The Tooltip shows me that the selected date is not a DateTime type it shows "DateTime?" instead of "DateTime". Is my Installation buggy? 

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 11 May 2009, 12:39 PM
Hello Carsten,

 "DateTime?" is shorthand for Nullable(DateTime) where DateTime is a value type. This structure represents an object whose underlying type is a value type that can also be assigned a null reference like a reference type.
For additional information, please refer to the following link:
Nullable Types

Best wishes,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Calendar
Asked by
Carsten
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or