punjabtechnicaluniversity.blogspot.in
There are main six types of validation controls :-
RequiredFieldValidator
It checks does the control have any value.It's used when you want the control should not be empty.
RangeValidator
Checks if the value in validated control is in that specific range.Example TxtCustomerCode should not be more than eight length.
CompareValidator
Checks that the value in controls should match the value in other control.Example Textbox TxtPie should be equal to 3.14.
RegularExpressionValidator
When we want the control value should match with a specific regular expression.
CustomValidator
Used to define UserDefined validation.
ValidationSummary
Displays summary of all current validation errors.
There are main six types of validation controls :-
RequiredFieldValidator
It checks does the control have any value.It's used when you want the control should not be empty.
RangeValidator
Checks if the value in validated control is in that specific range.Example TxtCustomerCode should not be more than eight length.
CompareValidator
Checks that the value in controls should match the value in other control.Example Textbox TxtPie should be equal to 3.14.
RegularExpressionValidator
When we want the control value should match with a specific regular expression.
CustomValidator
Used to define UserDefined validation.
ValidationSummary
Displays summary of all current validation errors.
0 comments:
Post a Comment
North India Campus