| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 939 人关注过本帖
标题:请高手斧正!
只看楼主 加入收藏
dffirefox
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2008-2-2
收藏
 问题点数:0 回复次数:1 
请高手斧正!
在用如下代码时提示:(错误类型:
Microsoft VBScript 编译器错误 (0x800A0401)
语句未结束
/1/Inc/System.asp, line 1046, column 129
Response.Write "<TABLE WIDTH=865 BORDER=0 ALIGN=center CELLPADDING=0 CELLSPACING=0><TR><TD><DIV CLASS='table-Link'><font color="#000000"><strong>收藏本页:</strong></font>
--------------------------------------------------------------------------------------------------------------------------------^
)应该如何改?请赐教!


Sub Index_Link()
Set Rs_c=Server.CreateObject("Adodb.RecordSet")
Sql="select * from Tx_Link where Link_Flag=1"
Rs_c.Open sql,Conn,1,1
IF Rs_c.RecordCount<>0 THEN
Response.Write "<TABLE WIDTH=865  BORDER=0 ALIGN=center CELLPADDING=0 CELLSPACING=0><TR><TD><DIV CLASS='table-Link'><font color="#000000"><strong>收藏本页:</strong></font>
                <script type="text/javascript" language="JavaScript" src="../js/shoucang.js">
</script></DIV>"
Response.Write "<TABLE WIDTH=865  BORDER=0 ALIGN=center CELLPADDING=0 CELLSPACING=0><TR><TD><DIV CLASS='table-Link'>友情连接</DIV>"

Set Rs=Server.CreateObject("Adodb.RecordSet")
Sql="select * from Tx_Link where Link_Flag=1 and Link_Logo<>''"
Rs.Open sql,Conn,1,1
IF Rs.RecordCount<>0 THEN
Response.Write "<DIV STYLE='text-align: left;background-color: #ffffff;padding-top: 0px;padding-right: 6px;padding-left: 6px;text-align: center;'>"
While Not Rs.Eof
Response.Write "<A HREF=" & Rs("Link_Url") & " target='_blank' title='网站名称:" & Rs("Link_Name") & " 网站地址:" & Rs("Link_Url") & " 网站介绍:" & Rs("Link_Content") & "'><IMG SRC='" & Rs("Link_Logo") & "' WIDTH=88 HEIGHT=31 BORDER=0></A> "
Rs.MoveNext
Wend
Response.Write "</DIV>"
End IF
Rs.Close
Set Rs=Nothing
Set Rs=Server.CreateObject("Adodb.RecordSet")
Sql="select * from Tx_Link where Link_Flag=1 and Link_Logo=''"
Rs.Open sql,Conn,1,1
IF Rs.RecordCount<>0 THEN
Response.Write "<DIV STYLE='text-align: left;background-color: #ffffff;padding-top: 5px;padding-right: 15px;padding-left: 6px;text-align: center;'>"
While Not Rs.Eof
Response.Write "<A HREF=" & Rs("Link_Url") & " target='_blank' title='网站名称:" & Rs("Link_Name") & " 网站地址:" & Rs("Link_Url") & " 网站介绍:" & Rs("Link_Content") & "'>" & Rs("Link_Name") & "</A> "
Rs.MoveNext
Wend
Response.Write "</DIV>"
End IF
Rs.Close
Set Rs=Nothing
Response.Write "</TD></TR></TABLE>"
End IF
Rs_c.close
Set Rs_c=Nothing
End Sub
搜索更多相关主题的帖子: Microsoft 斧正 Set strong 
2008-02-02 14:54
lbnnbs
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2008-2-12
收藏
得分:0 
chr(34)
Response.Write "<DIV><script type=" & Chr(34) & "text/javascript" & Chr(34) & " language=" & Chr(34) & "JavaScript" & Chr(34) & " src=" & Chr(34) & "../js/shoucang.js" & Chr(34) & "></script></DIV>"
2008-02-13 08:13
快速回复:请高手斧正!
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.023892 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved