delete.asp

来自「自动生成简历」· ASP 代码 · 共 43 行

ASP
43
字号
<%
	if session("password")<>"" then
%>
<html>
<head>
<title>删除简历</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
body,td,th {
	font-size: 14px;
	color: #666666;
	font-weight: bold;
}
body {
	background-color: #99CC00;
}
-->
</style></head>
<body leftmargin="0" topmargin="5">
<!--#include file="conn.asp"-->
<%
	id = trim(Request("id"))
	SQLcmd = "delete from qzjl where id="&id
	response.write "<table width='100%' border=0 cellspacing=0 cellpadding=0 height='100%'><tr><td>"
	response.write "<table width=250 border=1 cellspacing=2 cellpadding=2 align=center bordercolorlight=7285CF bordercolordark=7285CF height=90 bgcolor=F2F2F2>"
	response.write "  <tr bordercolor=F2F2F2 bgcolor=F2F2F2 align=center> "
	response.write "<td>删除成功!</td>"
	response.write "</tr>"
	response.write "<tr bordercolor=F2F2F2 bgcolor=F2F2F2 align=center> "
	response.write "<td>您已经成功的将这份简历从数据库中删除!</td>"
	response.write "</tr>"
	response.write "</table>"
	response.write "</td></tr></table>"
	conn.Execute SQLcmd
%>
</body>
</html>
<%
	else
		Response.Redirect "login.asp"			'否则转换到login.asp页面
	end if
%>

⌨️ 快捷键说明

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