起名问题
   育儿问题
   家庭教育
   起名问题
   宝宝疾病

   相关栏目
 在中国叫什么名字的最多,...
 帮我取个好听的英文名字....
 取什么名字好给高分速度来...
 为姓杨一对双胞胎取名
 请各位大师帮我儿子起个名...
 100分取个有意思的名字
 帮忙取名!!理发店的!!...
 我想给我的宝宝起名
 请帮我宝宝取一个好名字,...
 大家帮忙挑个好名字!好吗...
 急!问:有没有由两个"...
 将下面人名与其身份正确地...

 您现在的位置: 休闲宝贝网 >> 育儿FAQ >> 起名问题 >> 

起名问题 等你"三天起个名"MicrosoftJScript编译错误(0x800A03F1)缺少'}'/实验/Topic.asp,第96行
  人气: 【字体:
  发布时间:2007-03-29 17:59:55

  >>>>>>>>提问

<%@LANGUAGE="JAVASCRIPT" CODEPAGE="936"%>
<!--#include file="Connections/connMsg.asp" -->
<%
var Recordset1 = Server.CreateObject("ADODB.Recordset");
Recordset1.ActiveConnection = MM_connMsg_STRING;
Recordset1.Source = "SELECT MsgID, MsgSubject FROM MsgTopic ORDER BY MsgID ASC";
Recordset1.CursorType = 0;
Recordset1.CursorLocation = 2;
Recordset1.LockType = 1;
Recordset1.Open();
var Recordset1_numRows = 0;
%>
<%
var Repeat1__numRows = -1;
var Repeat1__index = 0;
Recordset1_numRows += Repeat1__numRows;
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>选择留言主题</title>
</head>
<style type="text/css">
A{TEXT-DECORATION: none;}
A:hover{COLOR: #FF00FF;
text-decoration: underline;}
A:link {color: #205064;}
A:visited {color: #205064;}
BODY
{
background:url(Skin/2/bg01.gif);background-position: center;
FONT-FAMILY: 宋体;FONT-SIZE: 9pt;
color: #000000;
text-decoration: none;
SCROLLBAR-FACE-COLOR: #f7fef6;
SCROLLBAR-HIGHLIGHT-COLOR: #B4C4D4; SCROLLBAR-SHADOW-COLOR: #B4C4D4; SCROLLBAR-3DLIGHT-COLOR: #f7fef6; SCROLLBAR-ARROW-COLOR: #ff0000; SCROLLBAR-TRACK-COLOR: #f7fef6; SCROLLBAR-DARKSHADOW-COLOR: #cdcbe2;
}
TD
{
FONT-FAMILY: 宋体; FONT-SIZE: 9pt;
color: #003366;
line-height: 150%;

}

}
.border
{
border:#ffffff 1px solid ;background:#EDF1F6;

}
.title
{
background:url(Skin/2/title_left.gif);height: 22;

}
.tdbg
{
background:#DFE6EE;
}

</style>


<body>
<br>
<br><table align='center' width='376' border='0' cellpadding='2' cellspacing='0' class='border'>
<tr class='title'>
<td height='11' colspan="2" align='center'><div align="right"><a href="Manage_Msg.asp">管理留言</a></div></td>
</tr>
<tr class='title'>
<td height='11' colspan="2" align='center'>选择留言主题!</td>
</tr>
<%
var i = 1
while ((Repeat1__numRows-- != 0) && (!Recordset1.EOF)) { %>
<tr class='tdbg'>
<td width="10%" height='25' align='left'><p align='center'><%= i %>
</p></td>
<td align='left'><a href="msgboard.asp?MsgID=<%=(Recordset1.Fields.Item("MsgID").Value)%>"><%=(Recordset1.Fields.Item("MsgSubject").Value)%></a></td>
</tr>
<%
i++;
Repeat1__index++;
Recordset1.MoveNext();
}
%>

</table>
<p>  </p>
</body>
</html>
<%
Recordset1.Close();
%>
这个问题弄的我头都快炸了 怎么改也不对,请大哥指点!(我初学水平低请讲详细点!在此感谢!!!(QQ;422575769 zhoutao1945@163.com)
休闲宝 贝 网



>>>>>>>>休闲宝贝网回答:

<%@LANGUAGE="JAVASCRIPT" CODEPAGE="936"%>
<!--#include file="Connections/connMsg.asp" -->
<%
var Recordset1 = Server.CreateObject("ADODB.Recordset");
Recordset1.ActiveConnection = MM_connMsg_STRING;
Recordset1.Source = "SELECT MsgID, MsgSubject FROM MsgTopic ORDER BY MsgID ASC";
Recordset1.CursorType = 0;
Recordset1.CursorLocation = 2;
Recordset1.LockType = 1;
Recordset1.Open();
var Recordset1_numRows = 0;
%>
<%
var Repeat1__numRows = -1;
var Repeat1__index = 0;
Recordset1_numRows += Repeat1__numRows;
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>选择留言主题</title>
</head>
<style type="text/css">
A{TEXT-DECORATION: none;}
A:hover{COLOR: #FF00FF;
text-decoration: underline;}
A:link {color: #205064;}
A:visited {color: #205064;}
BODY
{
background:url(Skin/2/bg01.gif);background-position: center;
FONT-FAMILY: 宋体;FONT-SIZE: 9pt;
color: #000000;
text-decoration: none;
SCROLLBAR-FACE-COLOR: #f7fef6;
SCROLLBAR-HIGHLIGHT-COLOR: #B4C4D4; SCROLLBAR-SHADOW-COLOR: #B4C4D4; SCROLLBAR-3DLIGHT-COLOR: #f7fef6; SCROLLBAR-ARROW-COLOR: #ff0000; SCROLLBAR-TRACK-COLOR: #f7fef6; SCROLLBAR-DARKSHADOW-COLOR: #cdcbe2;
}
TD
{
FONT-FAMILY: 宋体; FONT-SIZE: 9pt;
color: #003366;
line-height: 150%;

}

.border
{
border:#ffffff 1px solid ;background:#EDF1F6;

}
.title
{
background:url(Skin/2/title_left.gif);height: 22;

}
.tdbg
{
background:#DFE6EE;
}

</style>


<body>
<br>
<br><table align='center' width='376' border='0' cellpadding='2' cellspacing='0' class='border'>
<tr class='title'>
<td height='11' colspan="2" align='center'><div align="right"><a href="Manage_Msg.asp">管理留言</a></div></td>
</tr>
<tr class='title'>
<td height='11' colspan="2" align='center'>选择留言主题!</td>
</tr>
<%
var i = 1;
while ((Repeat1__numRows-- != 0) && (!Recordset1.EOF)) { %>
<tr class='tdbg'>
<td width="10%" height='25' align='left'><p align='center'><%= i %>
</p></td>
<td align='left'><a href="msgboard.asp?MsgID=<%=(Recordset1.Fields.Item("MsgID").Value)%>"><%=(Recordset1.Fields.Item("MsgSubject").Value)%></a></td>
</tr>
<%
i++;
Repeat1__index++;
Recordset1.MoveNext();
}
%>

</table>
<p> </p>
</body>
</html>
<%
Recordset1.Close();
%>

≡ 查看、发表评论 ≡