数据类型转换,~~急,在线等! cmdTemp.Parameters("@status")= "xx" 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 to: net_lover(孟子E章) 是参数@debug类型错误~~ 与cmdTemp.Parameters("@status")= "xx"无关 content =rs_detail("info_content")可能是空把!你判断一下content是否有数据!最好把存储过程贴出来看看. set cn=server.createobject(adodb.connection)//本地连接....mysql="select * from tradinfo where info_id="&id&"" rs_detail.open mysql,cn,3,3text=rs_detail("info_content")infotype=rs_detail("info_type")set conn=server.createobject("adodb.connection") //远程连接Oracle...Set cmdTemp = Server.CreateObject("ADODB.Command")cmdTemp.CommandText = "sp_send_msg" '存储过程名称cmdTemp.CommandType = 4Set cmdTemp.ActiveConnection = conncmdTemp.prepared=true'参数值cmdtemp.parameters("as_type")=infotypecmdtemp.parameters("as_content")=contentcmdtemp.parameters("as_respcode")="11"set recordset=cmdtemp.execute() return=cmdtemp.parameters("as_respcode")......<html>...<%=infotype%> & <%=text%></html>显示出来的结果,infotype和text两个变量都正常,有数据。存储过程sp_send_msg也能成功执行且返回标志"00", 但是执行结果是as_type,as_content字段都为空,没有对应infotypet和text的值。 beyond compare合并文本 如何运用事件委托优化web页面性能 有关xpath谓语的问题 Ext Tree 在开启拖拽的情况下如何取消拖拽 js下则表达式的问题 javascript 视频点播 如何将重复的字符去除呢? 如何做购物车 求java模拟登录网易微博和搜狐微博的具体方法 selenium如何处理js赋值input窗口后的触发事件 如何实现当第一次点击F4键时触发一个事件,再一次点击时触发另外一个事件。 父子窗口之间的交互怎么 实现??
是参数@debug类型错误~~ 与cmdTemp.Parameters("@status")= "xx"无关
可能是空把!你判断一下content是否有数据!
最好把存储过程贴出来看看.
....
mysql="select * from tradinfo where info_id="&id&""
rs_detail.open mysql,cn,3,3
text=rs_detail("info_content")
infotype=rs_detail("info_type")set conn=server.createobject("adodb.connection") //远程连接Oracle
...Set cmdTemp = Server.CreateObject("ADODB.Command")
cmdTemp.CommandText = "sp_send_msg" '存储过程名称
cmdTemp.CommandType = 4
Set cmdTemp.ActiveConnection = conn
cmdTemp.prepared=true
'参数值
cmdtemp.parameters("as_type")=infotype
cmdtemp.parameters("as_content")=content
cmdtemp.parameters("as_respcode")="11"
set recordset=cmdtemp.execute()
return=cmdtemp.parameters("as_respcode")
......<html>
...<%=infotype%> & <%=text%>
</html>显示出来的结果,infotype和text两个变量都正常,有数据。
存储过程sp_send_msg也能成功执行且返回标志"00",
但是执行结果是as_type,as_content字段都为空,没有对应infotypet和text的值。