Exforsys
+ Reply to Thread
Results 1 to 2 of 2

Matching Values

This is a discussion on Matching Values within the ASP forums, part of the Programming Talk category; I have two different web form controls in my ASP.NET application. I want to take action based on whether the ...

  1. #1
    Rahulbatra is offline Senior Member Array
    Join Date
    Apr 2006
    Answers
    124

    Question Matching Values

    I have two different web form controls in my ASP.NET application. I want to take action based on whether the values on the two different web form controls in my ASP.NET application matches with each other. How can I match the two different controls for values?


  2. #2
    rachelle is offline Member Array
    Join Date
    Apr 2006
    Answers
    97
    You can make use of CompareValidator to take action based on whether the values on the two different web form controls in my ASP.NET application matches with each other. The CompareValidator is used for comparing values between two input controls irrespective of its type. The property ControlToCompare of the CompareValidator identifies the name of the control
    which is to be compared between each other and the property ValueToCompare can be used for giving values for comparing with input control if needed. So use CompareValidator and match your results.


Latest Article

Network Security Risk Assessment and Measurement

Read More...