账号通
    

账号  

密码  

4203

查看

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) 回到顶部顶端 回到底部底部
<上一主题 | 下一主题 >
Powered By KesionCMS Version X1
厦门科汛软件有限公司 © 2006-2016 页面执行0.08594秒 powered by KesionCMS 9.0