📄 check.asp
字号:
<!--#include file="conn.asp"-->
<%
dim sql,id,action,username,password
id = request.querystring("id")
action = request.querystring("action")
username = request.form("username")
password= request.form("password")
if action = "add" then
sql = "insert into yonghu1 (username,[password] ) values ('"&username&"','"&password&"')"
elseif action = "upt" then
sql = "update yonghu1 set username='"&username&"',[password]='"&password&"'where id="&id
elseif action = "del" then
sql="delete from yonghu1 where id="&id
end if
conn.execute(sql)
conn.close
set conn = nothing
response.redirect("nows3.asp")
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -