- 主题:下面代码用JavaScript怎么表示
<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="Connections/test.asp" -->
<!--#include file="validate.asp" -->
<%
Dim test
Set test=Server.CreateObject("ADODB.Connection")
test.Open MM_test_STRING
Dim theid,testString
theid=Cint(trim(Request.QueryString("id")))
testString="delete from feedback where id=" & theid
test.Execute testString
test.Close
Set test=nothing
Response.Redirect("10.1.asp")
%>
--
FROM 202.103.241.*
js不能操作数据库吧
【 在 pchm (ming) 的大作中提到: 】
: <%@LANGUAGE="VBSCRIPT"%>
: <!--#include file="Connections/test.asp" -->
: <!--#include file="validate.asp" -->
: ...................
--
FROM 125.39.132.*
这不是写的很明白是VBSCRIPT,不是javascript
【 在 pchm (ming) 的大作中提到: 】
: <%@LANGUAGE="VBSCRIPT"%>
: <!--#include file="Connections/test.asp" -->
: <!--#include file="validate.asp" -->
: ...................
--
FROM 222.128.141.*