A列  B列     C列
1    B        C2    D        E3    F        G如何将stringgrid编辑后的内容update到数据库中,
      begin
      for i:=1 to StringGrid.RowCount-1 do
       begin
       self.ADOQuery2.Close;
       self.ADOQuery2.SQL.Clear;
       self.ADOQuery2.SQL.Text:='update 表名 set 要更新的字段= '''+Grids.Cells[1,i]+'''where 条件
       self.ADOQuery2.ExecSQL;这样写没有更新进去.