|
Microsoft's ADO Data control (ADODC) provides the simplest way to create an application, because you can perform many data access and manipulation tasks without writing any code. By binding data controls to an existing database, you can greatly simplify your programming efforts.
This lesson binds the ADO Data control to a bound DataGrid control in order to display data from the Course table of the sample database.
To create a bound DataGrid control using Pervasive's OLE DB provider:

An ADO Data control allows you to access data. In this case, you will be accessing Pervasive data via OLE DB. You specify this using the Properties window, which you configure in the next step.





The DataGrid control can display data accessed by an ADO Data control. In this case, you will be accessing the Adodc1 control you created in Step 2. You specify this using the Properties window, which you configure in the next step.


To create a bound DataGrid control using Microsoft's OLE DB for ODBC Driver provider:




|
Chapter contents
Prev topic: Lesson 1: Setting Up Your Environment
|