In this post we will see how to use compare validator to compare the two input values. Using compare validator we can compare two values from two different input controls or we can compare input value with some constant or fixed value.
Example of compare validator
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
...
RangeValidator to validate data in between | asp.net
From the set of validation server controlin asp.net we will see how to use RangeValidator in this post.
RangeValidator is used to check if values entered are in between specific range or not. In order to use RangeValidator, we need to add server control on web form.
RangeValidator example:
<html xmlns="http://www.w3.org/1999/xhtml">
<head...