ODBC Classes

team bbl


ODBC is a cross-platform standard for accessing databases, so it's natural for wxWidgets to provide support for it. Using wxODBC, you can access a wide variety of databases including DB2, DBase, Firebird, INFORMIX, Interbase, MS SQL Server, MS Access, MySQL, Oracle, Pervasive SQL, PostgreSQL, Sybase, XBase, Sequiter, and VIRTUOSO. The main wxODBC classes are wxDb and wxDbTable. For more information, see "Database Classes Overview" in the wxWidgets reference manual. See also samples/db and demos/dbbrowse (see Figure D-7). You may also be interested in reusing the generic tab and page controls that are part of this demo.

Figure D-7. wxWidgets dbbrowse ODBC demo


For other wxWidgets database access wrappers, see wxOTL and wxSQLite in Appendix E.

    team bbl



    Cross-Platform GUI Programming with wxWidgets
    Cross-Platform GUI Programming with wxWidgets
    ISBN: 0131473816
    EAN: 2147483647
    Year: 2005
    Pages: 262

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