var t:TBlobField;
begin
T := TBlobField.Create(Self);
T.FieldName := 'Images';
T.Name := Query1.Name + T.FieldName;
T.DataSet := Query1;
if not (Query.State in [dsInsert, dsEdit]) then Query1.Insert;
T.LoadFromFile('c:/Windows/Waves.bmp');
Query1.Post;
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
//打开
if (OpenDialog1.Execute) then
begin
Image1.Picture.Create ;
Image1.Picture.LoadFromFile ( OpenDialog1.FileName );
end;
end;