⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 updatequestions.asp

📁 asp考试系统
💻 ASP
字号:
<!--#include file="../../../../inc/config.asp" -->
<!--#include file="../../../../inc/conn.asp" -->
<%  
	dim  questionID,sql,testID
	testID=Request.QueryString("testID")
	questionID=Request.QueryString("questionID")
	if Request.QueryString("enabled")=1 then
		sql="update L_questions set L_enabled=1 where L_questionID="&questionID
	else
		sql="update L_questions set L_enabled=0 where L_questionID="&questionID
	end if
	
	dim conn
	set conn=Server.CreateObject("ADODB.CONNECTION")
	set conn=openExamData()
	conn.execute(sql)
	response.Redirect("../../view.asp?testID="&testID)
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
</body>
</html>

⌨️ 快捷键说明

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