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

 ·返回值问题    »显示摘要«
    摘要: 我写了一段存储过程如下: create procedure newstype_insert @newstype_name varchar(50), @newstype_reason varchar(50) output as declare @n int select @n = count(*) from newstype where newstype_name = @newstype_n......
 ·ftp拷贝文件    »显示摘要«
    摘要: 急!!!各位大侠帮帮忙 我现在用wininet编程,碰到一个问题,用getfile下载一个大文件时,文件还没下完就会一直停在那里不会往下执行,而客户要求在下载文件时可以随时终止。我用打开一个线程来下载文件,但那时要终止时我只能强行终止线程,如果那时那个文件还没下完,那么那个文件就无法操作,也无法删除。除非我重新启动程序。我知道是因为我没有正常释放资源。可问题是我该如果解决呢。 急,在线等。......


:原生ADO记录集赋值问题

在delphi中原生ADO记录集   不可以  
   
  ObjRs2   :=   createoleobject(adodb.recordset);  
  ObjRs   :=   createoleobject(adodb.recordset);  
  。  
  。  
  。  
  ObjRs2[1]   :=   ObjRs[1];  
   
  这么赋值吗   ObjRs中有记录,  
  编译没出错,但是运行时提示无效的参数,这是怎么回事啊?  
   
   
 

NO.1   作者: setfocus

为什么要用这种方式?Delphi不同与vb这些,是绑定了的!使用更方便,大可用delphi提供的ado数据控件,如果直接用原对象的话应该这样写:  
        with   TADOQuery.Create(Self)   do  
      begin  
          Connection:=adoCnn;  
          SQL.Text:=;  
          Free;  
      end;

NO.2   作者: abc3000

恩,还是使用控件方便  
   
  Delphi优势之一不就是使用数据库方便吗


    摘要: 存储过程wbs_dt: create or replace procedure wbs_dt(stime in date) as --delete from t_dt where t_time=stime aa float; bb float; i int; j int := 1; calledip varchar2(50); --while j <= i begin delete ......
» 本期热门文章:

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