账号通
    

账号  

密码  

4170

查看

2

回复
主题:[求助]Microsoft VBScript 运行时错误 错误 800a005e 无效使用 NUll :CInt \admin\KS.Article.asp,line 578 [收藏主题]  
wtdxhzx 当前离线

2

主题

0

广播

0

粉丝
添加关注
级别:学前班

用户积分:2 分
登录次数:3 次
注册时间:2011/8/4
最后登录:2011/8/8
wtdxhzx 发表于:2011/8/8 11:46:43   | 只看该作者 查看该作者主题 楼主 
科汛在线商城系统(NET)

后台编辑文章或删除文章时就出现:

Microsoft VBScript 运行时错误 错误 '800a005e' 无效使用 NUll :'CInt'

\admin\KS.Article.asp,line 578







578行是红色代码部分:求大家帮忙给解决一下

Sub showContent(SQL)

With Response

For I=0 To Ubound(SQL,2)

If CInt(SQL(5,I)) = 1 Then

TypeStr = "图文"

Else

     TypeStr = "普通"

End If

    AttributeStr = ""

If SQL(7,I) = 1 Or SQL(8,I) = 1 Or SQL(9,I) = 1 Or SQL(10,I) = 1 Or SQL(11,I) = 1 Or SQL(12,I) = 1 Then

  If SQL(7,I) = 1 Then AttributeStr = AttributeStr & (" <span title=""推荐" & KS.C_S(ChannelID,3) & """ style=""cursor:default""><font color=""green"">荐</font></span> ")

  If SQL(8,I) = 1 Then AttributeStr = AttributeStr & ("<span title=""热门" & KS.C_S(ChannelID,3) & """ style=""cursor:default""><font color=""red"">热</font></span> ")

  If SQL(9,I) = 1 Then AttributeStr = AttributeStr & ("<span title=""今日头条"" style=""cursor:default""><font color=""#0000ff"">头</font></span> ")

  If SQL(10,I) = 1 Then AttributeStr = AttributeStr & ("<span title=""滚动" & KS.C_S(ChannelID,3) & """ style=""cursor:default""><font color=""#F709F7"">滚</font></span> ")

  If SQL(11,I) = 1 Then AttributeStr = AttributeStr & ("<span title=""幻灯片" & KS.C_S(ChannelID,3) & """ style=""cursor:default""><font color=""black"">幻</font></span>")

  IF SQL(12,I) = 1 Then AttributeStr = AttributeStr & ("<span title=""固顶" & KS.C_S(ChannelID,3) & """ style=""cursor:default""><font color=""brown"">固</font></span>")

   Else

AttributeStr = "---"

   End If

 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
wtdxhzx 当前离线

2

主题

0

广播

0

粉丝
添加关注
级别:学前班

用户积分:2 分
登录次数:3 次
注册时间:2011/8/4
最后登录:2011/8/8
wtdxhzx 发表于:2011/8/8 11:47:23   | 只看该作者 查看该作者主题 沙发 
 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
licaifuwu 当前离线

653

主题

10

广播

17

粉丝
添加关注
级别:六年级

用户积分:1585 分
登录次数:361 次
注册时间:2010/11/19
最后登录:2019/5/7
licaifuwu 发表于:2011/8/8 13:56:48   | 只看该作者 查看该作者主题 藤椅 
科汛在线商城系统(NET)
数据类型不对 这个应该是自己添加的吧 建议用科讯自带函数 chkclng
 
  支持(1) | 反对(0) 回到顶部顶端 回到底部底部
habayy 当前离线

1194

主题

0

广播

0

粉丝
添加关注
级别:八年级

用户积分:1420 分
登录次数:192 次
注册时间:2011/8/2
最后登录:2012/12/19
habayy 发表于:2011/8/8 16:19:59   | 只看该作者 查看该作者主题 板凳 
科汛在线商城系统(NET)

报出这个错说明cint里面的值是一个空值,用sql语句查查是什么记录呗,保护没有做好

 
<a href=http://www.boai120.com>淮安博爱***</a>,<a href=http://www.boai120.com>******</a>,<a href=http://www.boai120.com>www.boai120.com</a>,<a href=http://www.harayy.com>淮安仁爱***</a>,<a href=http://www.harayy.com>******</a>,<a href=http://www.harayy.com>www.harayy.com</a>,<a href=http://www.83680088.com>阳痿早泄</a>,<a href=http://www.boairl.com>淮安renliu多少钱</a>,<a href=http://www.boairl.com>www.boairl.com</a>><a href=http://www.hank120.com>阳痿早泄</a>,<a href=http://www.boaiby.com>淮安******</a><a href=http://www.0517ra.com>www.0517ra.com</a><a href=http://www.boai120.com>淮安一院</a><a href=http://www.boai120.com/fuke/szzx/cnmxf/>www.boai120.com/fuke/szzx/cnmxf/</a>
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
<上一主题 | 下一主题 >
Powered By KesionCMS Version X1
厦门科汛软件有限公司 © 2006-2016 页面执行0.11133秒 powered by KesionCMS 9.0