日期:2014-05-17  浏览次数:20863 次

大家给看看这个提示怎么出不来呢(我想让他出现错误能够提示,可就是出不来????)
sql= "select   *   where   zhidanren= ' "&session( "manager_id ")& " ' "
rs=conn.execute(sql)
if   err   then
-----------------------------------

'我想让他出现错误能够提示,可就是出不来????(关键就是这怎么出不来,直接转到
wl_khbh=rs( "khbh ")这了,还出现错误)

response.Write   " <script   language=javascript> alert( '对不起,系统会话超时,请重新登陆!!! ');history.back(); </script> "

---------------------------------------
response.End()
else
wl_khbh=rs( "khbh ")
end   if


------解决方案--------------------
sql= "select * where zhidanren= ' "&session( "manager_id ")& " ' "
rs=conn.execute(sql)
if rs.eof then
-----------------------------------

'我想让他出现错误能够提示,可就是出不来????(关键就是这怎么出不来,直接转到
wl_khbh=rs( "khbh ")这了,还出现错误)

response.Write " <script language=javascript> alert( '对不起,系统会话超时,请重新登陆!!! ');history.back(); </script> "

---------------------------------------
response.End
else
wl_khbh=rs( "khbh ")
end if
------解决方案--------------------
sql= "select * where zhidanren= ' "&session( "manager_id ")& " ' "
set rs=conn.execute(sql)