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

The Data Form Wizard

The Data Form wizard will generate a Windows Form bound to a DataTable in a DataSet. While I would never really use one of these forms in any of my projects, the code they generate can help us understand how data binding works in .NET. The Data Form wizard is quite powerful and while I wouldn’t use it to generate forms for a serious application, it could be useful if you needed a quick-and-dirty data entry form. We are going to use it for a different purpose. We will create a form and then analyze the resulting code to see how they work.

The first step is to create a Windows Forms project. Do this now. Call it ADOBook08-01. To invoke the data form wizard, you add a new form to the project. When the template dialog opens, ...

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