Click here to Skip to main content
15,884,353 members
Articles / Web Development / ASP.NET
Article

Input and Data Validation

Rate me:
Please Sign up or sign in to vote.
4.33/5 (3 votes)
11 Oct 2013CPOL2 min read 8.3K   4   1
Garbage in, garbage out. You can avoid data cleanup tasks on the backend by avoiding bad data coming in.  ASP.NET validation controls and third party

This articles was originally at wiki.asp.net but has now been given a new home on CodeProject. Editing rights for this article has been set at Bronze or above, so please go in and edit and update this article to keep it fresh and relevant.

Garbage in, garbage out. You can avoid data cleanup tasks on the backend by avoiding bad data coming in.  ASP.NET validation controls and third party validation controls help you receive the right data in the right format.  In addition, the AJAX Control Toolkit employs extenders that can prevent invalid data from being entered in the first place.  For instance, the FilteredTextBoxExtender can prevent unwanted characters from being entered into the textbox.  The MaskedEditExtender restricts the format of the input being entered.

Whitepapers

How To

Controls

Resources

Podcasts

Video

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
The ASP.NET Wiki was started by Scott Hanselman in February of 2008. The idea is that folks spend a lot of time trolling the blogs, googlinglive-searching for answers to common "How To" questions. There's piles of fantastic community-created and MSFT-created content out there, but if it's not found by a search engine and the right combination of keywords, it's often lost.

The ASP.NET Wiki articles moved to CodeProject in October 2013 and will live on, loved, protected and updated by the community.
This is a Collaborative Group

754 members

Comments and Discussions

 
GeneralThe problem of GIGO Pin
dojohansen22-Jun-15 4:27
dojohansen22-Jun-15 4:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.