📄 usgupdate.asp
字号:
<!--#include file="..\pub\ChkDriver.asp"-->
<!--#include file="..\CONN.INC"-->
<%
set rs=conn.execute("select EventType from UsageInfo where EventID="&Request("ID"))
if not rs.eof then
if rs("EventType")="2" then
sqlstring="update UsageInfo set EventType=4 where EventID="&Request("ID")
conn.execute (Sqlstring)
end if
if rs("EventType")="4" then
sqlstring="update UsageInfo set EventType=5 where EventID="&Request("ID")
conn.execute (Sqlstring)
end if
end if
%>
<form name=reDirectURL action=<%=Request.ServerVariables("HTTP_REFERER")%> method=post></form>
<script language="javascript">
alert("任务状态已改变");
document.reDirectURL.submit();
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -