Input Validation and Error Handling in C#


Overview/Description
To demonstrate how to validate user input and provide error handling for a C# Windows application

Target Audience
Application developers with some experience in C# who wish to become familiar with developing user services in the .NET Framework, especially those who wish to attain the Microsoft Certified Solution Developer (MCSD) or Microsoft Certified Application Developer (MCAD) for Microsoft .NET credentials

Prerequisites
A broad knowledge of the .NET Framework and experience creating a simple application using Visual Studio .NET and C#

Expected Duration
120 Minutes

Objectives:

Input Validation and Error Handling in C#

  • select the code to handle events triggered for form controls.
  • add an ErrorProvider component to a C# form.
  • add field-level and form-level validation to a .NET application.
  • structure a try...catch...finally statement.
  • select the code to handle custom exceptions.
  • handle errors in C#.

  • Course Number: 130037_eng