Microsoft VBScript 运行时错误 错误 '800a0009' 下标越界: '0' 20
请各位大侠,帮帮忙,万分感激,万分感激,万分感激,万分感激。SEUserID=request("SEUserID")WS_Orderby=request("WS_Orde...
请各位大侠,帮帮忙,万分感激,万分感激,万分感激,万分感激。
SEUserID=request("SEUserID")
WS_Orderby=request("WS_Orderby")
WS_Watch=request("WS_Watch")
WS_Code=request("WS_Code")
if SEUserID<>"" and WS_Orderby<>"" then
SEUserIDArr=split(SEUserID,",")
WS_OrderbyArr=split(WS_Orderby,",")
WS_WatchArr=split(WS_Watch,",")
WS_CodeArr=split(WS_Code,",")
for i=0 to ubound(SEUserIDArr)
WS_Orderby=WS_OrderbyArr(i)
if not WS_S.HX_IsNum(WS_Orderby) then WS_Orderby=0
WS_Watch=WS_WatchArr(i)
if not WS_S.HX_IsNum(WS_Watch) then WS_Watch=0
WS_Code=trim(WS_CodeArr(i))
conn.execute("update HX_CompanyUser set WS_Orderby="&WS_Orderby&",WS_Watch="&WS_Watch&",WS_Code='"&WS_Code&"' where WS_Uid="&SEUserIDArr(i))
next
end if
WS_S.HX_Redirect("modify.asp?page="&page) 展开
SEUserID=request("SEUserID")
WS_Orderby=request("WS_Orderby")
WS_Watch=request("WS_Watch")
WS_Code=request("WS_Code")
if SEUserID<>"" and WS_Orderby<>"" then
SEUserIDArr=split(SEUserID,",")
WS_OrderbyArr=split(WS_Orderby,",")
WS_WatchArr=split(WS_Watch,",")
WS_CodeArr=split(WS_Code,",")
for i=0 to ubound(SEUserIDArr)
WS_Orderby=WS_OrderbyArr(i)
if not WS_S.HX_IsNum(WS_Orderby) then WS_Orderby=0
WS_Watch=WS_WatchArr(i)
if not WS_S.HX_IsNum(WS_Watch) then WS_Watch=0
WS_Code=trim(WS_CodeArr(i))
conn.execute("update HX_CompanyUser set WS_Orderby="&WS_Orderby&",WS_Watch="&WS_Watch&",WS_Code='"&WS_Code&"' where WS_Uid="&SEUserIDArr(i))
next
end if
WS_S.HX_Redirect("modify.asp?page="&page) 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询