modifycrd.asp

来自「一个VB的p2p聊天系统」· ASP 代码 · 共 36 行

ASP
36
字号
<!--#include file="headfiles/Connection.inc"-->
<%
dim rid,cid,rsCheck,y,m
rid=request("id")
cid=request("cid")
y=cint(request("y"))
m=cint(request("m"))
if rid="" or cid="" then
	response.write("操作错误!")
	response.end
end if
set rsCheck=server.createobject("adodb.recordset")
strSql="select * from "&y
if m<10 then
	strSql=strSql&"0"
end if
strSql=strSql&m&"CheckTable where Record_ID="&cint(rid)
rsCheck.open strSql,conn,3,2
rsCheck("Employee_State")=cint(cid)
rsCheck.update
rsCheck.close
%>
<script language="JavaScript">
	window.close();
</script>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>调整考勤记录</title>
</head>

<body>

</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?