Dec 26, 2018 01:50 AM|Zhi Lv - MSFT|LINK
Which validator control you use if you need to make sure the values in two different controls matched?
Whether your application is a web form application or an MVC application? how do you want to validate the value, from client side or server side?
If your application is a web form application, you could use asp.net validation controls to validate the value, such as the RegularExpressionValidator control. It ensures that the value of an input control matches a specified pattern
More details about asp.net validation controls, please refer to these articles:
Or, using the JQuery validation plugin to validate the value.