Microsoft OLE DB Provider for SQL Server 错误 '80040e14' “25”附近有语法错误。 /ywq/新闻发布系
旧时月光 2019-05-12 01:55:52 Microsoft OLE DB Provider for SQL Server 错误 '80040e14'
“25”附近有语法错误。
/ywq/新闻发布系统/22index.asp,行 4
代码
<!--#include file="25conn.asp"-->
<%
sql="select * from 25tbnews order by id desc"
set rs=conn.execute(sql)
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>企业新闻系统</title>
<style type="text/css">
<!--
table {
font-size: 9pt;
text-decoration: none;
border: 1px solid #000000;
}
-->
</style>
<style type="text/css">
<!--
a {
font-size: 9pt;
color: #000000;
text-decoration: none;
}
-->
</style>
</head>
<body>
<table width="598" border="0" align="center" cellpadding="5" cellspacing="0">
<tr align="center" bgcolor="#006699">
<td><font color="#FFFFFF">企业新闻显示页面</font></td>
</tr>
<%do while not rs.eof%>
<tr>
<td height="28" align="left"> <img src="images/page.gif" width="12" height="14"> <a href=show.asp?id=<%=rs("id")%> target="_blank"><%=rs("title")%></a> (<font color="#006699"><%=rs("addtime")%>发表</font>) <font color="#006699"> 浏览过 <%=rs("count")%>次</font>
<a href="25del.asp?ID=<%=rs("ID")%>">删除</a>
<a href="25login.asp?ID=<%=rs("ID")%>">更新</a></td>
</tr>
<%
rs.movenext
loop
%>
</table>
<div align="center"><br>
<!--#include file="25foot.asp"-->
</div>
</body>
</html>