【【【【关于存储过程(asp)的问题??】】】】】

yychencheng 2003-07-29 05:39:08
那位朋友可以帮我调试一下 欢迎结交朋友
QQ 123960003
email studentjff@163.com
msn studentjff@hotmail.com

问题 :
set oCmd.activeconnection=oConn
oCmd.CommandType="StoredProcedure"
oCmd.CommandText="{call byroaltyTest(?)}"
oCmd.Parameters.Append oCmd.CreateParameter("@percentage11",adInteger,adParamInput)
oCmd("@percentage111")=75
...全文
60 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
hubinasm 2003-07-29
  • 打赏
  • 举报
回复
关于调用存储过程的问题
请参考:
http://expert.csdn.net/Expert/topic/1516/1516951.xml?temp=.9336969
http://expert.csdn.net/Expert/topic/883/883306.xml?temp=.819668
http://expert.csdn.net/Expert/topic/1493/1493588.xml?temp=.4351465
cqfeng 2003-07-29
  • 打赏
  • 举报
回复
oCmd.CommandText = "byroaltyTest"
oCmd.CommandType = adCmdStoredProc
jiejifeng 2003-07-29
  • 打赏
  • 举报
回复
没看仔细,这两行错了
oCmd.CommandType="StoredProcedure"
oCmd.CommandText="{call byroaltyTest(?)}"

应为
oCmd.CommandText="StoredProcedure"
oCmd.CommandType=4
jiejifeng 2003-07-29
  • 打赏
  • 举报
回复
oCmd.CommandText="{call byroaltyTest(?)}"

set this

oCmd.CommandText=4

28,408

社区成员

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

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