I want to get the file name stored in database to the jTable

时间:2015-05-08 10:04:49

标签: java sql database swing jtable

I have linked the jTable with my sql database successfully. All the data in the database table are shown in the jTable. But under the columns DocumentFile and Photo in the jTable some codes are shown instead of their names. I want to get the relevant document name and photo name stored in sql database instead of those codes.

Heres part of my code that consists of the query...

nullptr

I cannot upload a pic here, they wont allow me to since i have less reputation.

Heres what I have in my table tourClient.

ClientID,Name,Age,Nationality,Address,Email,PhoneNo,PassportNo,InsuaranceNo,FoodReq,HealthReq,NextOfKin,DocumentFile,Photo

They all work fine except for document and photo which shows some codes

0 个答案:

没有答案