Topic: How to load Blob In Database to Image
I record jpg,png,bmp in database type blob
how to read and show at image1 in form ???
help me please!
Easy For Beginner Student For Me
My Visual Database → General → How to load Blob In Database to Image
I record jpg,png,bmp in database type blob
how to read and show at image1 in form ???
help me please!
procedure Form1_GridEmployees_OnCellClick (Sender: string; ACol, ARow: Integer);
begin
Form1.DBImage1.Clear;
Form1.DBImage1.LoadFromDatabase('employees', 'photo', Form1.GridEmployees.dbItemID);
end;
begin
end.
Project with example
http://myvisualdatabase.com/forum/misc. … download=1
hi Dmitry.
if table not have column "id" in table How change Form1.GridEmployees.dbItemID to ???
IN MySQL i have table record picture but table not create by mvd how to fix ??? problem
table name : pic_table
column primary : employee
column type : varchar
column picture : pic_employee
coloumn type : blob
There is no way to use method
Form1.DBImage1.LoadFromDatabase
if you database table not have primary key called "id"
My Visual Database → General → How to load Blob In Database to Image
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi