Data Forms

Data Forms

The VB Application Wizard has an option to add data access forms to the project. Each data access form allows users to add, update, and delete data in a database table. The forms use ADO data binding and can be set up to use binding with the ADO Data control, code, or a data class.

The Upgrade Wizard can upgrade only projects with ADO Data control data binding. Forms that accomplish data binding via code will not work in Visual Basic .NET because the controls do not support the DataSource property. Data binding by using a data class cannot be upgraded for two reasons: the controls do not support the DataSource property, and the DataSource behavior of classes cannot be upgraded automatically. If your application uses either of these two types of data binding, you will need to reimplement the data binding, using ADO or ADO.NET.

Forms with ADO Data control data binding are upgraded to Visual Basic .NET. Data binding has its own set of issues, and these are covered in Chapter 14.



Upgrading Microsoft Visual Basic 6.0to Microsoft Visual Basic  .NET
Upgrading Microsoft Visual Basic 6.0 to Microsoft Visual Basic .NET w/accompanying CD-ROM
ISBN: 073561587X
EAN: 2147483647
Year: 2001
Pages: 179

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net