CompareValidator - Data entered into TextBox control is type Currency

Q.  Which validation control in ASP.NET can be used to determine if the data is entered into a TextBox control is of type Currency?
- Published on 27 Jul 15

a. ValidationSummary
b. CompareValidator
c. RequiredFieldValidator
d. None of the above.

ANSWER: CompareValidator
 

    Discussion

  • Esperanza   -Posted on 17 Apr 24
    https://alientechnologyunveiled.blogspot.com

    It's appropriate time to make some plans for the longer term
    and it is time to be happy. I've read this put up and if I could I
    wish to suggest you few fascinating things or
    advice. Perhaps you could write next articles regarding this article.
    I desire to learn more things about it!
  • Brijesh   -Posted on 19 Oct 15
    CompareValidator control can be used to determine if the data is entered into a TextBox control is of type Currency. You can also compare a value against another value by using this control.
    The following type can be compared by CompareValidator control.
    • String
    • Integer
    • Double
    • Date
    • Currency

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)