高手帮忙asp纠错
Response.Write("<div class=""siderbar_head""><img src=""images/sider_calendar.gif"" align=""absmiddle"" border=""0"" /> 绔欑偣镞ュ巻</div><table width=""100%"" border=""0"" align=""center"" cellpadding=""2"" cellspacing=""1"" background=""images/calendar/month"&Month_Name(C_Month)&".gif""><tr><td colspan=""7"" align=""center""><a href=""index.asp?log_Year="&C_Year-1&""" title=""涓娄竴骞?"><span class=""arrow"">7</span></a><a href=""index.asp?log_Year="&Pro_Year&"&log_Month="&Pro_Month&""" title=""涓娄竴链?"><span class=""arrow"">3</span></a> <strong>"&C_Year&" - "&Month_Name(C_Month)&"</strong> <a href=""index.asp?log_Year="&Next_Year&"&log_Month="&Next_Month&""" title=""涓嬩竴链?"><span class=""arrow"">4</span></a><a href=""index.asp?log_Year="&C_Year+1&""" title=""涓嬩竴骞?"><span class=""arrow"">8</span></a></td></tr><tr bgcolor=""#F8F8F8"" class=""calendar-week"">")
有点乱码,但应该不影响,运行提示
错误类型:
Microsoft VBScript 编译器错误 (0x800A03EE)
缺少 ')'
参考答案:Response.Write("<div class=""siderbar_head"">
<img src=""images/sider_calendar.gif"" align=""absmiddle"" border=""0"" /> 绔欑偣镞ュ巻</div>
<table width=""100%"" border=""0"" align=""center"" cellpadding=""2"" cellspacing=""1"" background=""images/calendar/month"&Month_Name(C_Month)&".gif"">
<tr><td colspan=""7"" align=""center"">
<a href="index.asp?log_Year="&C_Year-1&"&title="涓娄竴骞?""><span class=""arrow"">7</span></a>
<a href="index.asp?log_Year="&Pro_Year&"&log_Month="&Pro_Month&"&title="涓娄竴链?"">
<span class=""arrow"">3</span></a>
<strong><%="&C_Year&" - "&Month_Name(C_Month)&"%></strong>
<a href="index.asp?log_Year="&Next_Year&"&log_Month="&Next_Month&"&title="涓嬩竴链?"">
<span class=""arrow"">4</span></a>
<a href="index.asp?log_Year="&C_Year+1&"&title="涓嬩竴骞?""><span class=""arrow"">8</span></a>
</td></tr>
<tr bgcolor=""#F8F8F8"" class=""calendar-week"">")
或者
Response.Write("<div class=""siderbar_head"">
<img src=""images/sider_calendar.gif"" align=""absmiddle"" border=""0"" /> 绔欑偣镞ュ巻</div>
<table width=""100%"" border=""0"" align=""center"" cellpadding=""2"" cellspacing=""1"" background=""images/calendar/month"&Month_Name(C_Month)&".gif"">
<tr><td colspan=""7"" align=""center"">
<a href="index.asp?log_Year="&C_Year-1&"&title="涓娄竴骞?""><span class=""arrow"">7</span></a>
<a href="index.asp?log_Year="&Pro_Year&"&log_Month="&Pro_Month&"&title="涓娄竴链?"">
<span class=""arrow"">3</span></a>
<strong>"&C_Year&" - "&Month_Name(C_Month)&"</strong>
<a href="index.asp?log_Year="&Next_Year&"&log_Month="&Next_Month&"&title="涓嬩竴链?"">
<span class=""arrow"">4</span></a>
<a href="index.asp?log_Year="&C_Year+1&"&title="涓嬩竴骞?""><span class=""arrow"">8</span></a>
</td></tr>
<tr bgcolor=""#F8F8F8"" class=""calendar-week"">")