[Display(Name = "MyProperty")] [StringLength(10)] public string ... NET MVC 3 o posterior, deberá cambiar stringLength a length y maximumLength a max .
確定! 回上一頁