Chapter 22. Performing Validation

After completing this chapter, you will be able to:

  • Examine the information entered by a user to ensure that it does not violate any application or business rules.

  • Use the CausesValidation property and understand the limitations of the validation events of forms and controls.

  • Perform validation effectively but unobtrusively.

  • Use the ErrorProvider control for reporting error messages.

  • Use the StatusStrip control to implement a status bar for a form.

In the previous two chapters, you saw how to create a Windows Forms application that uses a variety of controls for data entry. You created menus to make the application easier to use. You have learned how to trap events raised by menus, forms, and controls so that your application ...

Get Microsoft® Visual C#® 2005 Step by Step now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.