Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Required(ErrorMessage = "*Ingrese una fecha.")]
- [DataType(DataType.Date)]
- [DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}", ApplyFormatInEditMode = true)]
- [Display(Name ="FECHA")]
- public DateTime Fecha { get; set; }
- @Html.LabelFor(m => m.Entrada.Fecha, new { @class = "control-label" })
- @Html.TextBoxFor(m => m.Entrada.Fecha, "{0:dd/MM/yyyy}", new { @class = "form-control datepicker" })
- @Html.ValidationMessageFor(m => m.Entrada.InventarioId, "", new { @class = "text-danger" })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement