O'Reilly logo

ADO.NET Programming in Visual Basic™ .NET by Bob Howell, Steve Holzner

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

About UserControls

We will create our data control by subclassing a UserControl. This is a base class from which all visual controls derive. The UserControl class provides a visual drawing space upon which other controls may be placed. It also provides many of the properties and methods you would expect any control to have. In some ways, it is similar to a form. The difference is that the control must be hosted. That is, it must reside on a container. This container may be a form, or another UserControl.

To cover all of the bases, we will be creating what we call a compound control, or a control made up of a group of existing controls. There is another type of control called a painted control. In this type, the control author is responsible ...

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