
- Forum
- Programming Talk
- ASP
- Matching Values
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 ...
-
05-10-2007, 02:58 PM #1
- Join Date
- Apr 2006
- Answers
- 124
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?
-
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.

Reply With Quote





