SHARE
TWEET

Untitled

a guest Aug 21st, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [Required(ErrorMessage = "*Ingrese una fecha.")]
  2.     [DataType(DataType.Date)]
  3.     [DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}", ApplyFormatInEditMode = true)]
  4.     [Display(Name ="FECHA")]
  5.     public DateTime Fecha { get; set; }
  6.      
  7. @Html.LabelFor(m => m.Entrada.Fecha, new { @class = "control-label" })
  8. @Html.TextBoxFor(m => m.Entrada.Fecha, "{0:dd/MM/yyyy}", new { @class = "form-control datepicker" })
  9. @Html.ValidationMessageFor(m => m.Entrada.InventarioId, "", new { @class = "text-danger" })
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top