Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
Node is saved as draft in My Content >> Draft
  • Validations in .NET

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 20
    Comment on it

    The user input data is validated by the ASP.NET validation controls to ensure that are useless data which are unauthenticated, or contradictory should not get stored.

    ASP.NET provides the following validation controls:

     

    RequiredFieldValidator Control

    The RequiredFieldValidator control ensures that the required field is not empty. It is generally tied to a text box to force input into the text box.

     

    RangeValidator Control

    The input values which falls inside a predetermined range is verified by the RangeValidator control.

     

    CompareValidator Control

    For comparing a value in one control or in another control with a fixed value we use CompareValidator control.

     

    RegularExpressionValidator

    To validation of the input text by matching against a pattern of a regular expression is allowed by RegularExpressionValidator.

    The regular expression is set in the ValidationExpression property.

    • RequiredFieldValidator
    • RangeValidator
    • CompareValidator
    • RegularExpressionValidator
    • CustomValidator
    • ValidationSummary

     

    .net

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: