|
|
Title | Use ADO to read a database's structure |
Keywords | database, structure, TreeView, DataGrid, schema |
Categories | Database, Controls |
|
|
Thanks to Herman Liu.
Use the ADO objects' properties and methods to find the database structure.
This rather complex program loads the tables' names into a TreeView control. Open a table's node to see the fields it contains. Double click on a field to see its properties. Double click a table display the table's records in a DataGrid control. See the code for details.
|
|
|
|
|
|