Hi, im using VS2012
i like to know how to use Data Annotation namespace in (ASPX UI) ?
how to call from data layer to UI layer for validation each field ?
example:
sample.cs
[Required, StringLength(100), Display(Name = "Name")]
public string Name { get; set; }
How to call this field to validate In ASPX ? UI
pls help