how to read data from MySQL table...
Posted: Thu Aug 27, 2009 11:47 am
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
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