数据类型转换,~~急,在线等! 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的值。 如何使js控制DIV层显示隐藏(页面可刷新)时,只能隐藏不能显示, 请教一个Jquery的基础问题,高手进 错误的参数个数或无效的参数属性值 请教JS显视问题 问个超级简单的问题!!!!! 图片的跑动? 如何配置FCKeditor V2.0 beta 1的上传/管理文件功能 调用打印控件安全设置禁止的问题 过中国自己的节日,我们不过“圣诞”节 可不可以只reset某一个input或select等 如何实现当第一次点击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的值。