How to use CompareValidator in

By Super Man

How you can use comparevalidator in to compare two textbox values.

You can compare two textbox value or one textbox value to another value then you can make use of CompareValidator control.

you just need to set ControlToCompare and ControlToValidate property of CompareValidator control.

Forex. In registration form , you must have password and retype password must have to be same.

then you can set ControlToCompare to property to PasswordText control. and ControlToValidate property to RetypePasswordtext control.

How to use CompareValidator in  (1489 Views)