Team LiB
Previous Section Next Section

Chapter 1: The .NET Data Entry Controls

Overview

This chapter covers the controls that most of you are familiar with. In fact, I am willing to bet that you work with many of these controls on a daily basis. Perhaps you did not know this. For instance, did you know that the TextBox, ComboBox, Button, and so forth all have the built-in capability to let you validate what the user is doing at a given moment? In fact, many controls allow you to tailor what data the user can enter so you do not even have to validate. This chapter covers many of these controls.

When I first started programming in Visual Basic (VB) as a young lad, I used the TextBox for just about every type of user input. However, I did not set up the TextBox to do much of the validation work for me. I relied on my own code to do this. This chapter shows you how to use the TextBox and other controls to do much of the validation for you.

If you have done any user interface programming at all, I am sure you are familiar with many of these controls. If you are a VB 6.0 veteran and are just starting out in .NET, you will find that many of the familiar controls now have some pretty interesting additional functionality. Much of this functionality has to do with how the user enters data and how you validate it.


Team LiB
Previous Section Next Section