?? 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 + -