1.

What Are Validation Annotations?

Answer»

Data annotations are ATTRIBUTES which can be found in the "System.ComponentModel.DataAnnotations" namespace. These attributes will be used for server-side validation and client-side validation is also supported. Four attributes - Required, String Length, Regular EXPRESSION and RANGE are used to COVER the COMMON validation scenarios.

Data annotations are attributes which can be found in the "System.ComponentModel.DataAnnotations" namespace. These attributes will be used for server-side validation and client-side validation is also supported. Four attributes - Required, String Length, Regular Expression and Range are used to cover the common validation scenarios.



Discussion

No Comment Found