📄 usersh.asp
字号:
<!--#include file="check.asp"-->
<!--#include file="conn.asp"-->
<%
Dim tID,uID
tID = Request.QueryString("tID")
uID = Request.QueryString("uID")
If Not IsNumeric(tID) Then
Response.Write "操作失败!"
Response.End
Else
tID = Clng(tID)
End if
If Not IsNumeric(uID) Then
Response.Write "操作失败!"
Response.End
Else
uID = Clng(uID)
End if
Dim strSQL
If tID = 1 Then
strSQL = "Update uInfo Set cLogin = 1 Where uID=" & uID
Conn.Execute strSQL
ElseIf tID=2 Then
strSQL = "Update uInfo Set cLogin = 0 Where uID=" & uID
Conn.Execute strSQL
End If
Call CloseDataBase() '关闭对象
Response.Write "<script>" & vbcrlf
Response.Write "location.href='UserManage.asp';" & vbcrlf
Response.Write "</script>"
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -