📄 modiplaybill.asp
字号:
<!--#include file="../Connections/dns.asp" -->
<%
id=request("id")
playbill=request("playbill")
pbdate=request("pbdate")
njname=request("njname")
yg=request("yg")
if yg="星期日" then
pbtime=date()
end if
if yg="星期一" then
pbtime=date() + 1
end if
if yg="星期二" then
pbtime=date() + 2
end if
if yg="星期三" then
pbtime=date() + 3
end if
if yg="星期四" then
pbtime=date() + 4
end if
if yg="星期五" then
pbtime=date() + 5
end if
if yg="星期六" then
pbtime=date() + 6
end if
sql ="update playbill set njname ='" & njname & "' where id = " & id
rs.open sql,conn,1,3
sql ="update playbill set pbdate ='" & pbdate & "' where id = " & id
rs.open sql,conn,1,3
sql ="update playbill set playbill ='" & playbill & "' where id = " & id
rs.open sql,conn,1,3
sql ="update playbill set yg ='" & yg & "' where id = " & id
rs.open sql,conn,1,3
sql ="update playbill set pbtime =#" & pbtime & "# where id = " & id
rs.open sql,conn,1,3
Response.Redirect "playbill.asp"
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -