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

Creating the Project

Shall we begin? Start by closing any open projects or solutions. Create a project. When prompted, select Windows Control Library. Name the project DataControl. This will create a Windows Control Library project with a default UserControl class called UserControl1.vb. Select UserControl1.vb in the Project window and open the code view. Notice that the control is just a class that inherits from windows.forms.UserControl. Change the programmatic name of the class to ucDataNav for data navigator. Do this by simply overtyping UserControl1 with ucDataNav right in the source code. To be consistent let’s also change the source code file name to match. Do this right in the Project window. Note two things: Changing the name in the ...

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