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

An ADO .NET Windows Form Program

Now it’s time to create a simple database form. There are two ways to accomplish this: use the data form wizard or build it ourselves. Using the wizard is quick but we wouldn’t learn anything. As you will learn, when you begin the build, a Windows form is considerably more complex than the console application.

VB 6—In VB 6 the easiest way to create a data form without using wizards was by using the ADO Data Control. You could drop this on a form and by setting a few properties you could gain access to your database. Then you could drop some data-bound controls on the form, set the DataSource and DataField properties and you were done. You didn’t have to write any code. The Data Control handled all the details ...

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