当前位置:首页
开发技术指南» 文章正文
    引言:
 

 

 ·gcc for windwos 哪里有的下    »显示摘要«
    摘要: 分给第一个能下的地址! ......
 ·如何让resin在开机时自动启动    »显示摘要«
    摘要: ?? ......


请帮忙看看以下ADO事务过程有什么错误

procedure   TForm1.Button1Click(Sender:   TObject);  
  var  
      i:integer;       //行数  
  begin  
      adoconnection1.BeginTrans;  
      begin  
      try  
          for   i:=0   to   50   do  
            if   (stringgrid1.Cells[0,i]<>)   and   (stringgrid1.Cells[1,i]<>)     then  
            begin  
                adotable1.Append;  
                adotable1.FieldByName(Name).AsString:=stringgrid1.cells[0,i];  
                adotable1.FieldByName(StoreId).AsString:=stringgrid1.cells[1,i];  
                adotable1.post;  
              end;  
            adoconnection1.committrans;  
   
        Exception  
            adoconnection1.RollbackTrans;   在调试此行时系统报错:(Missing   operator   or   semicolon)  
   
        end;  
      end;  
   
  本人的D6已打Pack2  
 

NO.1   作者: neilwq

Exception---->except


 ·怎样替换asp中的‘    »显示摘要«
    摘要: 由于asp中写html代码时,用’来代替,不知道还是否有别的方法或者是替换成” ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE