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

各位进来看看,关于ASP程序的一个问题~急
Microsoft   VBScript   编译器错误   错误   '800a03f6 '  

缺少   'End '  

/new_pic.asp,行   122  

elseif   request.form( "action ")= "delpic "   then

上面这个错误,一般都出现在 "行122 "前后吗???
望知道的,告之,谢谢了~



------解决方案--------------------
晕,不知道你啥意思,错误是肯定的
从这句往上推
elseif request.form( "action ")= "delpic " then
就会发现除了if 与end if互相匹配的外,有一个else的地方
else 'here
if not isInteger(request.form( "id ")) then
Response.Write( " <script language=javascript> alert( '非法的id参数。 ');history.back(1); </script> ")
response.End
end if
------解决方案--------------------
以后要写的整齐啦
缺少时用response.write( "dasfd ")
response.end
输出一下,看看到底是哪个地方缺少的