This question is locked. New answers and comments are not allowed.
Hi,
I've StartTime and EndTime Column in my MVC Grid.
When I add items, I display the default values in the columns. I'd like to check whether the value in the StartTime Column is less than the EndTime column. I checked with the model, that I don't have any property to compare/Check the values.
Here is how I designed my model :
[DataType(DataType.DateTime)]
public DateTime? StartTime { get; set; }
[DataType(DataType.DateTime)]
public DateTime? EndTime { get; set; }
Any help would be appreciated much !!
I've StartTime and EndTime Column in my MVC Grid.
When I add items, I display the default values in the columns. I'd like to check whether the value in the StartTime Column is less than the EndTime column. I checked with the model, that I don't have any property to compare/Check the values.
Here is how I designed my model :
[DataType(DataType.DateTime)]
public DateTime? StartTime { get; set; }
[DataType(DataType.DateTime)]
public DateTime? EndTime { get; set; }
Any help would be appreciated much !!