Logo         Community
The Company
Your Account
Contact Us
Input Validation With ASP.NET (part 1)
Protect your Web application from bad data with ASP.NET's Validator objects.

| Being Bad |

One of the primary reasons for application errors (and the often-disastrous consequences that follow) is the "bad" data entered by the application's end-users. It's not uncommon to find applications falling apart because the user made a mistake while entering a critical piece of information...especially if the application's been written by a novice developer too inexperienced to know better.

If that novice developer is you, you're going to thank your stars that you found this article today.

Now, you can't stop a user from entering bad data into your application - but you can certainly check what's been entered and trigger off warnings if it's incorrect. This process is called input validation, and it's something you *must* do in every application you develop. This is twice as true for Web applications, which involve lots of forms and databases - if you don't have input validation in your Web-based application, you run the risk of corrupting your database by allowing incorrect, unverified values to be stored in it.

Over the next few pages, I'm going to show you how you can wrap your code in bulletproof Kevlar, so that no matter how bad the user input is, your code detects it, warns the user about it, and keeps ticking instead of blowing all its fuses. In ASP.NET, doing this is surprisingly simple...if you know about the built-in Validators.

How to do Everything with PHP & MySQL
How to do Everything with PHP & MySQL, the best-selling book by Melonfire, explains how to take full advantage of PHP's built-in support for MySQL and link the results of database queries to Web pages. You'll get full details on PHP programming and MySQL database development, and then you'll learn to use these two cutting-edge technologies together. Easy-to-follow sample applications include a PHP online shopping cart, a MySQL order tracking system, and a PHP/MySQL news publishing system.

Read more, or grab your copy now!

more like this print this article  next page
In trog...
Logging With PHP
Building A Quick-And-Dirty PHP/MySQL Publishing System
Output Buffering With PHP
Date/Time Processing With PHP
Creating Web Calendars With The PEAR Calendar Class
In the hitg report...
Crime Scenes
Animal Attraction
Lord Of The Strings
In boombox...
Patience - George Michael
Think Tank - Blur
My Private Nation - Train
In colophon...
Hostage - Robert Crais
The Dead Heart - Douglas Kennedy
Right As Rain - George Pelecanos
In cut!...
American Chai
The Core
Find out how you can use this article on your own Web site!

Copyright © 1998-2018 Melonfire. All rights reserved
Terms and Conditions | Feedback