Hello friends..
I am developing a database application.. i got a simple table called customer with the following schema..
cid integer, cname varchar(25), caddress text, ccontact varchar(15)
I am using mysql.. I went through this example and started with a code.. http://docs.wxwidgets.org/stable/wx_odbcoverview.html
I am able to read other three fields from the table... But the customer id field is not giving me proper result... if the id is 1, it is showing some unwanted value like -182342..
Eagerly waiting for responses..
Thanks in advance
Rakesh Patil
how to read data from MySQL table... Topic is solved
-
- Filthy Rich wx Solver
- Posts: 234
- Joined: Mon May 08, 2006 12:31 pm
- Location: Krakow, Poland
Hi,
according to http://wiki.wxwidgets.org/ODBC, wxODBC has been removed from wxWidgets 2.8+
You should take a look at the wxDatabaseLayer component.
You can find it here:
http://wxcode.sourceforge.net/components/databaselayer/
Other alternatives are
wxDba (http://debea.net/trac/wiki/WxDba)
wxMySQL (http://ttanalytics.nm.ru/wxcomponents/w ... index.html)
LI
according to http://wiki.wxwidgets.org/ODBC, wxODBC has been removed from wxWidgets 2.8+
You should take a look at the wxDatabaseLayer component.
You can find it here:
http://wxcode.sourceforge.net/components/databaselayer/
Other alternatives are
wxDba (http://debea.net/trac/wiki/WxDba)
wxMySQL (http://ttanalytics.nm.ru/wxcomponents/w ... index.html)
LI
Here is something about DatabaseLayer which mays interest you: http://dev.arqendra.net/#dbl
I have a question abut wxDba. recently I've tried it, but for some reason, it depends on wxODBC.... I'm not so sure this is an alternative as yet...Other alternatives are
wxDba (http://debea.net/trac/wiki/WxDba)
So my question is why does it depend on wxODBC?