Dbgrid.h and Db.h

In this forum you can discuss database related issues which can be wxWidgets related, but also generic in nature.
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

Postby eldonfsr » Mon Jan 13, 2014 2:20 am

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: 12822
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Dbgrid.h and Db.h

Postby doublemax » Mon Jan 13, 2014 11:59 am

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:
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: 2092
Joined: Wed Jan 28, 2009 11:57 am
Location: Dar es Salaam, United Republic of Tanzania
Contact:

Re: Dbgrid.h and Db.h

Postby evstevemd » Sat Jan 18, 2014 3:57 pm

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

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?
[Ubuntu 15.04/Windows 10 Pro - GCC/MinGW, CodeLite IDE et al]

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

Postby pmcnary » Tue Feb 04, 2014 8:50 pm

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: 2092
Joined: Wed Jan 28, 2009 11:57 am
Location: Dar es Salaam, United Republic of Tanzania
Contact:

Re: Dbgrid.h and Db.h

Postby evstevemd » Wed Feb 05, 2014 9:36 am

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?
[Ubuntu 15.04/Windows 10 Pro - GCC/MinGW, CodeLite IDE et al]


Return to “Database Related”

Who is online

Users browsing this forum: No registered users and 1 guest