wxODBC
Thomas Zehbe
tz at ingenion.de
Wed Aug 9 00:04:04 PDT 2006
Am Mittwoch, 9. August 2006 04:07 schrieb Ayen Yang:
> On 8/1/06, Widget <widget at alibaba.com> wrote:
> > ""Ayen Yang"" <ayen.krida at gmail.com> wrote in message
> > news:d515c6030607311843s64bc66dfk6c8d57d94b3f0f14 at mail.gmail.com...
> >
> > > Hi everyone,
> > >
> > > Does anyone know where to find a more detail information to use the
> > > wxODBC (wxDb/wxDbTable) class?
> > > I've found that the documentation on wxWidgets not covering much about
> > > the class.
> >
> > If you look in the wxWidgets help file there's a section called 'Topic
> > Overviews' and below that 'Database classes overview.' There's a complete
> > tutorial there on how to use the wxODBC classes. It was certainly enough
> > to get me started.
>
> Thank you for the answer.
> I found that both documents lack information about how to handle other
> data type.
> That is what I want to know about.
Hi Ayen,
did you have a look at the ../samples/db subdir? All data types are handled
the same way. Provide a buffer for the data and choose the right DB_DATA_TYPE
and SQL_C_<type> in the SetColDefs method of wxDbTable. Don't forget to
wxDbTable->Open() the table before using it! All you need to know to start
you'll find in dbtest.cpp.
Good luck
Thomas
--
Dipl.-Ing. Thomas Zehbe
INGENION GmbH
Kuhweide 6
31552 Apelern
Fon: 05043 / 40 57 90 4
Fax: 05043 / 40 57 90 7
More information about the wx-users
mailing list