毕业论文开发语言企业开发JAVA技术.NET技术WEB开发Linux/Unix数据库技术Windows平台移动平台嵌入式论文范文英语论文
您现在的位置: 毕业论文 >> WEB开发 >> 正文

Microsoft VBScript 运行时错误 错误 '800a0009'下标越界: '[number: 1]'

更新时间:2014-5-22:  来源:毕业论文

Microsoft VBScript 运行时错误 错误 '800a0009'

下标越界: '[number: 1]'

/news.asp,行 90                                          <%
                bid = request("id")
                if bid = "" then bid ="20"
                  dim ParentID,File
                  ParentID = 112
                  Set rst2=server.CreateObject("adodb.recordset")
                                                strSql2="SELECT  * FROM AdminMenu where ParentID="&ParentID&"  order by SortNum ASC "
                                                rst2.open strSQL2,conn,1,1               
                                                if rst2.recordcount>0 then
                                                result=rst2.recordcount
                                                For i=1 to result
                                                File = Split(rst2("AdminMenuFile"),"=")
                                                id = File(1)        《----此处为90行》
                  %>
                                    <%
                                  if bid <> id then
                                 bg="Images/company/menubg2.gif"
                                 else
                                 bg="Images/company/menubg1.gif"
                                end if
                  %>
你要检查才行

 if ubound (File)>=1 then       id = File(1)      else       id="0"end
if isarray(File)=true then             id = File(1)     else            id="0" end  if

if isarray(File)=true then      
 if uBound(File)>=1 then
     id = File(1)   
     else     
     id="0"
 end if
else
  response.write("不是数组"):response.end()
end  if

设为首页 | 联系站长 | 友情链接 | 网站地图 |

copyright©youerw.com 优尔论文网 严禁转载
如果本毕业论文网损害了您的利益或者侵犯了您的权利,请及时联系,我们一定会及时改正。