⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 del.asp

📁 完全内核
💻 ASP
字号:
<link href="css.css" rel="stylesheet" type="text/css">
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="25"><a href="admin.asp">首页</a> <a href="add.asp">添加试题</a> <a href="delete_all.asp">删除试题</a> <a href="SEARCH.ASP">列出试题答案</a> <a href="change_password.asp">修改密码</a> <a href="login.asp">登入</a> <a href="20050130_logout.asp">退出</a> &nbsp;<a href="http://www.25175.com">powered by 25175</a></td>
  </tr>
</table>
<%if session("password")<>"" then%>
<script language="javascript">
function confirmDel(id){
if (confirm("确定这个删除?")) 
{
window.location.href = "delnews.asp?id=" + id
}
}
</script>
<!--#include file="conn.asp" --> 

<%
sql="select * from test order by id desc"
rs.open sql,conn,1,3

if rs.EOF then
	Response.Write "没记录"
else
%>
<title>25175.com</title>
<link href="css.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

 <%do while not rs.EOF%>
  <table width="760" border="0" align="center" cellpadding="0" cellspacing="0">

    <tr>
      <td width="50" height="25"><%=rs("id")%></td>
      <td width="190"><%=rs("question")%></td>
      <td width="25"><a href='javascript:confirmDel(<%= rs("id") %>)'>删除</a>	  </td>
      <td width="25"><div align="center">
	  </div></td>
    </tr>
</table>

<%
rs.MoveNext
loop
end if
rs.Close
set rs=nothing
set conn=nothing
%>



<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="350" height="20">  &nbsp;</td>
    <td>

	</td>
  </tr>
</table>
<%
else
Response.Redirect "20050130_loginagine.asp"
end if
%>

⌨️ 快捷键说明

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