?? saveordermod1.asp
字號:
<!-- #include file="../include/bkconn.asp "-->
<!--#include file="checkUser.asp"-->
<%
' response.write modifyPassword
' response.End
Set cmdTemp = Server.CreateObject("ADODB.Command")
Set InsertCursor = Server.CreateObject("ADODB.Recordset")
cmdTemp.CommandText = "SELECT * FROM orders WHERE id="&Request("id")
cmdTemp.CommandType = 1
Set cmdTemp.ActiveConnection = conn
InsertCursor.Open cmdTemp, , 1, 3
if Request("box1")= "on" then
InsertCursor("state") =1
InsertCursor("treatedDate") =now()
end if
if Request("box2")= "on" then
InsertCursor("gathering") =1
InsertCursor("gatheringDate") =now()
end if
InsertCursor("treatedRemark") =Request("treatedRemark")
InsertCursor.Update
InsertCursor.close
conn.close
set InsertCursor=nothing
set conn=nothing
%>
<script language=Javascript>
<!--
alert("處理成功!");
this.document.location="<%=session("adminOldUrl")%>";
-->
</script>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -