O'Reilly logo

Microsoft® Visual C#® 2008 Step by Step by John Sharp

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

An Example—Customer Information Maintenance

Consider a simple scenario. You have been asked to build a Customer Information maintenance application. Part of the application needs to record the essential details of a customer, including the customer's title, name, and gender. You decide to create a form like the one shown in the following graphic.

image with no caption

You need to ensure that the user's input is consistent: the title (Mr, Mrs, Miss, or Ms) must match the selected gender (Male or Female), and vice versa.

Performing Validation by Using Data Binding

In the following exercises, you will examine the Customer Information application and add validation rules by ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required