关与在ASPX文件中包含带ASP代码的ASP文件?
在ASPX文件中包含带ASP代码的ASP文件可以吗?
为什么老提示换行符错误呢?
下面是包含的ASP文件。
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td height="1" bgcolor="#A5A5A5"><img src="../images/spacer.gif" width="1" height="1"></td></tr>
<tr>
<td height="130" bgcolor="#229BEB">
<%
select case request("BM")
case "1"
response.write "<img src='/images/info_topimg.jpg'>";
case "2"
response.write "<img src='/images/china_topimg.jpg'>";
case "3"
response.write "<img src='/images/products_topimg.jpg'>";
case "4"
response.write "<img src='/images/sales_topimg.jpg'>";
case "5"
response.write "<img src='/images/careers_topimg.jpg'>";
end select
%></td>
</tr>
</table>
为什么老提示换行符错误呢?
下面是包含的ASP文件。
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td height="1" bgcolor="#A5A5A5"><img src="../images/spacer.gif" width="1" height="1"></td></tr>
<tr>
<td height="130" bgcolor="#229BEB">
<%
select case request("BM")
case "1"
response.write "<img src='/images/info_topimg.jpg'>";
case "2"
response.write "<img src='/images/china_topimg.jpg'>";
case "3"
response.write "<img src='/images/products_topimg.jpg'>";
case "4"
response.write "<img src='/images/sales_topimg.jpg'>";
case "5"
response.write "<img src='/images/careers_topimg.jpg'>";
end select
%></td>
</tr>
</table>
...全文
相关推荐
asp.net/aspx本地测试工具一键本地测试asp.net程序
asp.net/aspx本地测试工具|一键本地测试asp.net程序,可以在本地测试任何asp.net程序!
ASP.NET 路由实现去除aspx后缀
ASP.NET 路由实现去除aspx后缀 ASP.NET 路由实现去除aspx后缀
webshell,包含asp,php,aspx,jsp
asp php aspx jsp webshell,Webshell马全套
ASP.net中aspx与cs函数的互调
aspx页面中js调用aspx.cs的方法直接与后台进行交互,aspx.cs调用aspx页面中的js方法与前端进行交互,需要注意的是,js要写在页头里面,不然调用的时候会报错
asp2aspx工具
asp2aspx转换工具,可以把老网站代码转换为aspx的新代码


