?? updatetype.asp
字號:
<!--#include file="../../../../inc/config.asp" -->
<!--#include file="../../../../inc/conn.asp" -->
<%
dim TypeID,sql,testID
testID=Request.QueryString("testID")
TypeID=Request.QueryString("TypeID")
if Request.QueryString("enabled")=1 then
sql="update L_types set L_enabled=1 where L_TypeID="&TypeID
else
sql="update L_types set L_enabled=0 where L_TypeID="&TypeID
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 + -