luistsousa
Technical User
Hello everybody
I am try to read jpeg images from a database MYSQL, with TTable.
I used :
DataModule1->Table1->Append();
if (OpenPictureDialog1->Execute())
DBImage1->Picture->LoadFromFile (OpenPictureDialog1->FileName);
DataModule1->Table1->Post();
To put images in a blob field. I think its work, at least with BMP's.
How Can I take the jpeg images from database and put in a TImage ??? I try with some example code, but nothing.
Many thanks
Luis
I am try to read jpeg images from a database MYSQL, with TTable.
I used :
DataModule1->Table1->Append();
if (OpenPictureDialog1->Execute())
DBImage1->Picture->LoadFromFile (OpenPictureDialog1->FileName);
DataModule1->Table1->Post();
To put images in a blob field. I think its work, at least with BMP's.
How Can I take the jpeg images from database and put in a TImage ??? I try with some example code, but nothing.
Many thanks
Luis