我在日历系统的多页中使用create form的部分视图。在我的主页上,一切都正常工作,不需要任何东西。但是在我的另一页上,它需要一个模型来传递给它。 Semaine = semaine.GetValueOrDefault(), fin = new DateTime()问题是,我不知道如何给它一个空日期时间,它不会通过添加模型不接受的毫秒来中断
我有以下实体:{ public int ID { get; set; } public Nullable<decimal> Grade { get; set; }
public virtual ModulesViewBag.StudentNames, new { htmlAttributes = new { @class =