Hi,
I just need to fetch the values from a table in a MySQL database and display it in to the text field.
So I did the code:
ODBCRecordset *set = [conn open:@"select fCardtype,fCardname from tblcreditcard where fCardid=333"];
[txtType setStringValue:[[set fieldByName:@"fCardtype"]asString]];
[txtName setStringValue:[[set fieldByName:@"fCardname" ]asString]];.
2009-04-21 04:35:15 UTC in ODBCKit