我想在if 语句判断 ado.connection 是否打开 如果打开就 将其关闭 如果是关闭的就set ado.connectiong= nothing
请高手赐教
请高手赐教
解决方案 »
- 设置一个按钮打开一个网址(这个网址写在配置文件里面)
- 问个参数传递问题。
- 异地数据库访问问题
- 请大家给点思路,先谢了,急死了。。
- 别嫌弃呀,帮忙详尽注释一个VB程序~~~~!最好详尽一点。刚刚在基础类发了别彻底鄙视了~
- 欢迎进来讨论之二:初始化时设置窗体的某项属性,会触发form_load事件,一般是怎么处理(避免触发)的?
- 怎么样把COMBO控件和ADODC控件绑定?
- 如何从文件读取参数,并且隔一定的时间执行一部分?
- 怎样把数据库中的内容写到Word文档中去?我想要源代码!!!!!
- 在VB中运行GetEnvironmentVariable需要引用什么东西?
- 有没有这样的API 返回一个图片的长 宽 等属性
- 如何在vb窗体中划立体的线?就像frame的边框那种
cn.close
set cn=nothing
end if
ado.connection.close
set ado.connectiong= nothing
end if
if ado.connection.state=open then
ado.connection.close
set ado.connectiong= nothing
end if
ado.connection.close
set ado.connectiong= nothing
end if
ado.connection.close
endif
ado.connection.close
set ado.connectiong= nothing
end if