procedure TForm1.Button10Click(Sender: TObject);//ADO成功写入//TABLEPIC(id,name,blobpic,blobtxt)//表结构:{CREATE TABLE TABLEPIC ( ID INTEGER NOT NULL, NAME VARCHAR(30), BLOBPIC BLOB SUB_TYPE 0 SEGMENT SIZE 4096, BLOBTXT BLOB SUB_TYPE 1 SEGMENT SIZE 4096);}begin with ADOQuery1 do begin SQL.Text := 'SELECT * FROM tablepic'; Open; Append; FieldByName('id').AsInteger := 4; FieldByName('name').AsString := 'ADO存入第四张照片'; TBlobField(FieldByName('blobpic')).LoadFromFile('c:/MYDBCS/AB.bmp'); TBlobField(FieldByName('blobtxt')).LoadFromFile('c:/MYDBCS/my.txt'); Post; end;end;