使用@ Html.EditorFor(M => m.DateModified),因为否则DisplayFormat属性不会有任何效果。要添加更多属性(如CSS类),您必须为DateTime创建编辑器模板 ...
確定! 回上一頁