+ -
当前位置:首页 → 问答吧 → 请问VB6中有没有像ASP的execute一样

请问VB6中有没有像ASP的execute一样

时间:2011-08-13

来源:互联网

请问VB6中有没有像ASP的execute一样功能,我想通过封装的DLL执行外部查询的命令。
比如
VBScript code

set rs=conn.execute"select * from product where cid=1 order by id desc"
      do while (not rs.eof)
            response.write rs("id")
      rs.movenext
      loop
rs.close
set rs=nothing


我想将这段代码通过DLL里面的函数执行请问有没有像ASP中得EXECUTE直接可以执行此段代码并返回执行结果

作者: aha1234   发布时间: 2011-08-13

VB里?当然有。和这个一样,也就是execute。

作者: theforever   发布时间: 2011-08-13