<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="Connections/mynews.asp" -->
<%
if(Request("news_ID") <> "") then Command1__mynews_ID = Request("news_ID")
%>
<%
set Command1 = Server.CreateObject("ADODB.Command")
Command1.ActiveConnection = MM_mynews_STRING
Command1.CommandText = "DELETE FROM WHERE news_ID=" + Replace(Command1__mynews_ID, "'", "''") + ""
Command1.CommandType = 1
Command1.CommandTimeout = 0
Command1.Prepared = true
Command1.Execute()
%>
<!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>
<style type="text/css">
<!--
.style1 {
font-size: xx-large;
font-weight: bold;
}
-->
</style>
</head>
<body>
<div align="center">
<p class="style1">洗掉成功!
</p>
<p class="style1"><a href="https://bbs.csdn.net/topics/news_edit.asp">繼續</a> <a href="https://bbs.csdn.net/topics/news_list.asp">退出</a></p>
</div>
</body>
</html>

代碼如上,出現如圖錯誤是為什么啊?
uj5u.com熱心網友回復:
delete from [表呢?] where ....uj5u.com熱心網友回復:
沒有資料庫表名!轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/37252.html
標籤:ASP
上一篇:兩個相同的雙精度小數相減不等于0
