Text Problem [message #461991] |
Sat, 20 January 2007 12:58 |
Eclipse User |
|
|
|
Originally posted by: badreddine49.yahoo.fr
I have an application SWT which manages a Mysql database.How to charge the data stored in the database in the Text widget of my application in order to being modify.
I used an instruction SELECT:
<i>String selectPartner="SELECT * FROM partnerinformation WHERE ID_Partner=5";
ResultSet resultatsPartnerInformation=statement.executeQuery(selectPar tner);
adressPartner.setText(resultatsPartnerInformation.getString( "adressPartner"));</i>But my text widget is always empty
I think that the problem that I must refresh my graphic interface.But I don't have the code or instruction.!!??
Please help me. Thanks
Best regards.
badr
|
|
|
|
Powered by
FUDForum. Page generated in 0.03859 seconds