procedure TForm1.btn1Click(Sender: TObject);
var str:Tmemorystream;
begin
  btn1.Enabled:=false;
  str:=Tmemorystream.Create;
  str.LoadFromFile('000.bmp');
  try
    myqry1.SQL.Clear;
    myqry1.SQL.Text:='select * from whmember';
    myqry1.Open;    myqry1.Edit;
    Tblobfield(myqry1.Fields.Fields[myqry1.FieldList.Count-1]).loadfromstream(str);
    myqry1.Post;    showmessage('ok');
  finally
    str.Free;
    btn1.Enabled:=true;
  end;
end;
{
---------------------------
Debugger Exception Notification
---------------------------
Project Project1.exe raised exception class EMySqlException with message '
#42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'J揾嫿w崷剽觳oO禧耢?毡熴聘禧耢禧耢瞣OGCHJFLOLUONW9?D:FHJ\\[QfcUkiG[' at line 3'. Process stopped. Use Step or Run to continue.
---------------------------
OK   Help
---------------------------
}