--- In [email protected], "drilledhead" <dgf...@...> wrote:
>
> hi,
> me using delphi5 and mssql , but i can't save image(blob) file not file link.
> pls help me
>
Try this:
with ADODataset1 do
begin
Append;
TBlobField(FieldByName('PHOTO')).LoadFromFile(edtFName.Text);
Post;
end;
Note: 1. edtFName is TEdit component having the filename.
2. ADODataSet is TADODataSet in which you have open your table.
3. PHOTO is the field name in your table to store photo. In MySQL it will
be BLOB type.
Hope it will help you thanks
[email protected]