如何解决server.Execute执行的问题?

来源:百度知道 编辑:UC知道 时间:2024/06/20 11:15:56
我的代在执行下代时正常:
<%
dim sohw
sohw=Request.QueryString("LBGL")
if sohw=1 then
server.Execute("addlbform.asp")
else
if sohw =2 then
Response.Write "这是修改页"
else
if sohw=3 then
Response.Write "这是删除页"
else
Response.Write "欢迎进入后台管理,希望给你带来方便!"

end if
end if
end if
%>
在执行这个文件(addlbform.asp)时,一提交表单就回到了表单提交页,数据没有写入,addlbform.asp 这文件主要的提交表单,写入数的功能,单独执行时正常(没有条件语句).另上的条件语句是通过图层菜单的URL获得SOHW的值的.请高人帮我指一下.
还是不行,跟原来的一样,我的提交面代码!
<table>

<tr>
<td align="left"><form id="frmUpload" name="frmUpload" action="<%=Request.ServerVariables("script_name")%>" method="post" target="_self" enctype="multipart/form-data">
<p><span class="STYLE1">类别编号:</span>
<

dim sohw
sohw=Cint(Request.QueryString("LBGL"))
if sohw=1 then
server.Execute("addlbform.asp")
elseif sohw=2 then
Response.Write "这是修改页"
elseif sohw=3 then
Response.Write "这是删除页"
else
Response.Write "欢迎进入后台管理,希望给你带来方便!"
end if

这里应该这样才对吧

请检查提交页面是否正确提交到了执行页面,有可能是提交给本页了