关与在ASPX文件中包含带ASP代码的ASP文件?

jokulyang jokulyang 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
在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>
...全文
评论 3
收藏 已收藏
分享
返回顶部
jokulyang
.NET社区 62,275 成员 668,968 内容