我现在会的方法是用Adotable,然后Append,然后用流写进去.
现在我想用insert 语句添加进去.
请问应如何实现!!

解决方案 »

  1.   

    ?
    请举个例子行吗?
    var
      bittmp:tbitmap;
      strsql:String;
    begin
      try
        bittmp:=tbitmap.create;
        bittmp.loadfromfile(文件);
        //数据库表名叫 test ,字段名叫 content image字段
        strsql:='';//这里怎么写?
        self.ADOCommand1.CommandText:=strsql;
        self.adocommand1.Execute;
      finally
        bittmp.free;
      end;
    end;
      

  2.   

    另外如果用Adotable的话,我可以用进度条来显示当前的进度.
    如果用Insert的情况下,应当如何实时的显示进度条.
    Adotable.active:=true的时候
    是不是把所有的内容都要读出来阿?
    image字段的内容读取不读取?
      

  3.   

    请问如何用SQL语句往SQLSERVER2000里插入图片
    http://community.csdn.net/Expert/topic/3302/3302475.xml?temp=.150387
    ////