executeresult.asp

来自「25175 教师工资管理系统 v2.01 由25175学生成绩管理系统 v2.」· ASP 代码 · 共 28 行

ASP
28
字号
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="Connections/conn.asp" -->
<%
if len(request.Form("SQLString"))=0 then
response.Write("没有任何起作用的SQL指令!")
else
set Command1 = Server.CreateObject("ADODB.Command")
Command1.ActiveConnection = MM_conn_STRING
Command1.CommandText = request.form("SQLString")
Command1.CommandType = 1
Command1.CommandTimeout = 0
Command1.Prepared = true
Command1.Execute()
Command1.ActiveConnection.close
response.write("成功执行了以下的SQL指令:<br>")
response.Write(request.Form("SQLString")&"<br>")
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>执行Command对象</title>
</head>

<body>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?