TechRepublic : A ZDNet Tech Community

Validate user input with ASP.NET validation controls

Topics:
.NET,
Programming Languages
Tags:
.Net,
Enterprise Software,
Microsoft ASP.NET,
Middleware,
Sams Publishing,
Software,
Software Development,
Software/Web Development,
Validation Control
Source:
Sams Publishing

FREE Registration is required

Overview: This sample chapter, taken from Sams Teach Yourself ASP.NET in 24 Hours Complete Starter Kit examines how to use four validation controls in ASP.NET to easily perform input validation.

Learn how ASP.NET makes input validation a breeze with the help of validation controls,

This sample chapter, taken from Sams Teach Yourself ASP.NET in 24 Hours Complete Starter Kit, examines how to use the RequiredFieldValidator, the CompareValidator, theRangeValidator, and the RegularExpressionValidator validation controls in ASP.NET. The chapter covers the following topics:

  • The various classes of input validation
  • How to use the RequiredFieldValidator to ensure that the user has provided input
  • How to use the CompareValidator
  • How to use the RangeValidator to ensure that the user's input falls between a range of values
  • Grouping related RadioButton Web controls
  • How to use the RegularExpressionValidator
  • The aesthetic properties of the validation Web controls


Title: Sams Teach Yourself ASP.NET in 24 Hours Complete Starter Kit
ISBN: 0672325438
Published: May, 2003
Author: Scott Mitchell
Chapter: Hour 12: Validating User Input with Validation Controls
Published by Sams

(Is this item miscategorized? Does it need more tags? Let us know.)

Format: PDF | Size: 2KB | Date: Oct 2005 | Version: 1.0 | System Requirements: Acrobat Reader 5.0 or later | License: copyright | Downloads: 1308


advertisement

White Papers, Webcasts, and Resources

advertisement

Returning users: Log In Here!

Already registered on BNET, TechRepublic, or ZDNet? Simply log in.

Free Membership: Sign Up Now!

Sign up for a free membership today and get instant and unlimited access to one of the largest databases of white papers, webcasts, and casestudies anywhere. Your FREE membership allows you to:

  • Download an unlimited amount of content, including classic and current white papers, case studies, webcasts and more
  • Track content on your chosen topics of interest
  • Receive targeted email alerts when your favorite content is added
  • Save content for future reading
  • Receive our member newsletter

When you register to access this library, you become a member of TechRepublic. In addition, you allow us to share your information with companies that produce products or services featured in the library--so that such companies may contact you with information and offers regarding their products and services. This enables us to keep the library a free service. As a library registrant, you will receive a complimentary subscription to the TechRepublic NetNote member newsletter and e-mail updates of important TechRepublic enhancements and news. You can unsubscribe from these e-mail services at any time. By using this service, you indicate that you agree to our Terms and Conditions and have read and understand our Privacy Policy (updated).

SmartPlanet

Click Here