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

  • Catharine   -Posted on 19 Jul 24
    https://magicboxpro.flowcartz.com/

    May I simply just say what a relief to uncover somebody who actually knows what they're discussing online.
    You certainly realize how to bring a problem to light and make it important.

    More and more people should read this and understand this side
    of your story. I was surprised that you are not more popular since
    you surely have the gift.
  • 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.)