Dbgrid.h and Db.h

In this forum you can discuss database related issues which can be wxWidgets related, but also generic in nature.
Post Reply
eldonfsr
In need of some credit
In need of some credit
Posts: 8
Joined: Fri Dec 27, 2013 11:24 pm

Dbgrid.h and Db.h

Post by eldonfsr »

Hello everubaody here well u=i just started with wx and start some test firsrt serial comm is not avaliable on it, and the second why for dbgrid the manual an examples says include wx/dbgrid.h and wx/db.h if you look there those file are not exist, that is thirth librery or is part of wx, i using codeblocks and wx3.0 or some bady know a version of wich came with all files pls give me idea. what i need for work with database sql or sqlite.

best regards.
enrique
User avatar
doublemax
Moderator
Moderator
Posts: 19102
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Dbgrid.h and Db.h

Post by doublemax »

The database classes were removed in wx 3.0 because they were unmaintained and there is no other database component included in wxWidgets.

If you need support for sqlite only, there is the very good wxSqlite3:
http://forums.wxwidgets.org/viewtopic.php?f=10&t=38453

Another option would be wxDatabaseLayer (but it has a few minor bugs and doesn't seem to be maintained any more).

But you don't really need a special wxWIdgets component to access a database. You could also use any "generic" C++ library, e.g. SOCI:
http://soci.sourceforge.net/
Use the source, Luke!
User avatar
evstevemd
Part Of The Furniture
Part Of The Furniture
Posts: 2408
Joined: Wed Jan 28, 2009 11:57 am
Location: United Republic of Tanzania

Re: Dbgrid.h and Db.h

Post by evstevemd »

doublemax wrote:
Another option would be wxDatabaseLayer (but it has a few minor bugs and doesn't seem to be maintained any more).
there is maintained version here. Soon version 1 (which is developed quitly locally now) will be available
meanwhile see this thread

http://forums.wxwidgets.org/viewtopic.php?f=10&t=36408
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
pmcnary
In need of some credit
In need of some credit
Posts: 1
Joined: Tue Feb 04, 2014 8:46 pm

Re: Dbgrid.h and Db.h

Post by pmcnary »

When do you think version 1 will be available?

Is this a CodeBlocks on Ubuntu project?
User avatar
evstevemd
Part Of The Furniture
Part Of The Furniture
Posts: 2408
Joined: Wed Jan 28, 2009 11:57 am
Location: United Republic of Tanzania

Re: Dbgrid.h and Db.h

Post by evstevemd »

pmcnary wrote:When do you think version 1 will be available?

Is this a CodeBlocks on Ubuntu project?
Can't promse Yet but not that far.
It will have bakefiles (thanks to Patlki) and CodeLite Projects.
May be another one will make C::B project for that version!
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
Post Reply