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, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access