如何输出vbs的常量

sailor001 2002-10-23 12:39:24
比如说recordset的cursortype属性adopenforwardonly,我该如何知道他的值呢?
...全文
72 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
saucer 2002-10-23
  • 打赏
  • 举报
回复
copy this file
C:\Program Files\Common Files\System\ado\adovbs.inc
to your web root directory, then add this line at the top of asp files:
<!--#include virtual="/adovbs.inc" -->

or better yet, add this line at the top of your global.asa file:
<!--METADATA TYPE="typelib" UUID="00000205-0000-0010-8000-00AA006D2EA4" NAME="ADODB Type Library" -->
wpmsoft 2002-10-23
  • 打赏
  • 举报
回复
DONT use <!--#include virtual="/adovbs.inc" --> , It can reduce systematic performance seriously !!!

please open/search file "C:\Program Files\Common Files\System\ado\adovbs.inc", so you will found string 'adopenforwardonly' and else.

then, in your ASP file, use 1,2,3.... to replace adopenforwardonly,....

this is a experience.

28,390

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧