i have an image stored in the column( img) of mysql table albums. the format is blob.
i do not no how to retreive it from the table and display it in a label img1 in my netbeans project.
how do i write the resultset code and display it on the label.
please help me.
Jump to Post
steps for setting image for Label:
create a image file as follows
File image = new File("D:\mysample.jpg");
i think you know how to read image data from database.once you get the resultset object do as follows i mean store image column data into above file
// after …
All 5 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.