CompareValidator Control in ASP.Net

  • CompareValidator control is used to compare/match the value of one input control to the value of another input control.
  • Mostly this control is used to Entering the Password detail in Registration  form.
  • For this control we must specify the input Datatype for comparison.
  • Input Type may be:
    - String 
    - Date 
    - Currency 
    - Integer
    - Double
  • Here we have to set two property for validation.
  • ControlToValidate - The main input control means Original first password.
  • ControlToComapre - The second input control which is compare with main control, means confim -password control.

use compare validator control in asp.net

How to use compare validator control in asp.net

use compare validator control in asp.net

How to use compare validator control in asp.net

 

use compare validator control in asp.net

How to use compare validator control in asp.net

 

use compare validator control in asp.net

How to use compare validator control in asp.net

Leave a Reply

Your email address will not be published. Required fields are marked *

3 + 4 =


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">