validations

Asked By venkatesh
09-Sep-10 05:34 AM
Earn up to 0 extra points for answering this tough question.
end of post

  re: validations

Sagar P replied to venkatesh
09-Sep-10 05:43 AM
In computer science, data validation is the process of ensuring that a program operates on clean, correct and useful data. It uses routines, often called "validation rules" or "check routines", that check for correctness, meaningfulness, and security of data that are input to the system. The rules may be implemented through the automated facilities of a data dictionary, or by the inclusion of explicit application program validation logic.

We have differnt validation controls in ASP.Net;

  • RequiredFieldValidator

  • CompareValidator

  • RangeValidator

  • RegularExpressionValidator

  • CustomValidator

  • ValidationSummary


  • http://www.beansoftware.com/ASP.NET-Tutorials/Validation-In-ASP.NET.aspx

    In windows applciation you can do validation for textboxes on events like; KeyPress, KeyDown, KeyUp etc as per your requirement.... Also you can use ErrorProvider to show error in proper format.....

    http://www.codeproject.com/KB/validation/validationprovider.aspx

      re: validations

    Sreekumar P replied to venkatesh
    09-Sep-10 07:38 AM
    hi,



    Validation Server Control Description
    CompareValidator Compares the value of one input control to the value of another input control or to a fixed value
    CustomValidator Allows you to write a method to handle the validation of the value entered
    RangeValidator Checks that the user enters a value that falls between two values
    RegularExpressionValidator Ensures that the value of an input control matches a specified pattern
    RequiredFieldValidator Makes an input control a required field
    ValidationSummary Displays a report of all validation errors occurred in a Web page

    http://www.codeproject.com/KB/validation/aspnetvalidation.aspx

    http://www.theserverside.net/tt/articles/showarticle.tss?id=Validators

    http://ashishware.com/ASPValid.shtml
    Create New Account