Microsoft VBScript 编译器错误 错误 '800a0400' 求指导,谢谢~~

悠闲的张小猫 2015-03-18 11:13:26
Microsoft VBScript 编译器错误 错误 '800a0400'

缺少语句

/top.asp,行 45
(topcon.Fields.Item(“ym”).Value)
^


下面是index.asp代码
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<!--<!-- #include file="top.asp" -->
<!--<!-- #include file="lm.asp" -->
<body>
<!--<!-- #include file="gfq.asp" -->
</body>
</html>




top.asp45行上下
<td width="30" bgcolor="#FFFF99"><img src="images/homepage.gif" width="28" height="28" /></td>
<td width="105" bgcolor="#FFFF99"><p ><a href="#" onclick="this.style.behavior= 'url(#default#homepage)';this.setHomepage('<%(topcon.Fields.Item("ym").Value)%>')">设为首页</a></p></td>

为什么,怎么改?谢谢。
...全文
120 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
hookee 2015-03-21
  • 打赏
  • 举报
回复
<%=topcon.Fields.Item("ym").Value%> 或 <% Response.Write topcon.Fields.Item("ym").Value %>
Go 旅城通票 2015-03-20
  • 打赏
  • 举报
回复
<%=(topcon.Fields.Item("ym").Value)%>

28,391

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧