?? kq_xjhz_edit_save.asp
字號:
<%@ Language=VBScript.Encode %>
<%Response.Expires=0%>
<%
dim ssqxh
ssqxh=Request.Form("sqxh")
if ssqxh & ""="" then
Response.Write "申請序號錯誤"
Response.End
end if
%>
<!-- #include file="../share/connectdb.asp" -->
<%
Dim rs
set rs=server.CreateObject("ADODB.recordset")
dim sczlb,sxjyj
sczlb=Request.Form("czlb")
sxjyj=Request.Form("xjyj")
'保存請假單信息
rs.Open "select * from kq_qjd where sqxh=" & ssqxh,conn,3,2
if not rs.EOF then
if sczlb="TY" then
rs("xjqk")="3"
elseif sczlb="BTY" then
rs("xjqk")="2"
end if
rs("xjyj")=sxjyj
rs.Update
end if
rs.Close
set rs=nothing
conn.close
set conn=nothing
Response.Redirect "kq_xjhz.asp"
%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -