IT 10-Data Validation
IT 10-Data Validation
SLIDESMANIA.C
Data
Validation
SLIDESMANIA.C
Data
Validation
●Data validation means checking the accuracy and
quality of source data before using, importing or
otherwise processing data.
●RequiredFieldValidator
●RangeValidator
●CompareValidator
●RegularExpressionValidator
●CustomValidator
●ValidationSummary
SLIDESMANIA.C
BaseValidato
r Class
SLIDESMANIA.C
BaseValidator
Class
● The validation control classes are inherited from the
BaseValidator class hence they inherit its properties
and methods.
Properties Description
Type It defines the type of the data. The available values are:
Currency, Date, Double, Integer, and String.
MinimumValue It specifies the minimum value of the range.
MaximumValue It specifies the maximum value of the range.
SLIDESMANIA.C
RangeValidator
Control
SLIDESMANIA.C
CompareValidat
or Control
SLIDESMANIA.C
CompareValidator
Control
● The CompareValidator control compares a value in
one control with a fixed value or a value in another
control.