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

📄 cangku_set.asp

📁 对学校物资管理系统的一份设计
💻 ASP
字号:
<!--#include file = "Startup.asp"-->
<!-- #include file="Function.asp" -->
<%call adminer()Call ComeUrl()Call adminqx()%>
<script language="JavaScript">
function openwin(id){
window.open('wuzi_info.asp?id='+id,'','menubar=0,statusbar=0,locationbar=0,scrollbars=0,width=510,height=500 top=100,left=200')
}
</script>
<%
page=request("page")
%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="common.css" type="text/css" rel="stylesheet">
<title>无标题文档</title>
</head>
<body>
<table width="100%" height="100%" border="0">
  <tr>
    <td align="center" valign="top"> <p>&nbsp;</p>
      <table width="80%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#CCCCCC" >
        <tr align="center" bgcolor="#E0E0E0"> 
          <td height="20"><strong> <font color="#FF0000">物资编号</font></strong></td>
          <td height="20"><strong> <font color="#FF0000">名称</font></strong></td>
          <td><strong><font color="#FF0000">最后更新时间</font></strong></td>
          <td><strong><font color="#FF0000">状态</font></strong></td>
          <td><strong><font color="#FF0000">操作</font></strong></td>
        </tr>
        <%
  set rs=server.createobject("adodb.recordset")
  sql="select * from cangku  order by id desc"
  rs.open sql,oconn,1,2
  if rs.eof then
  response.Write("暂无数据!")
  else
  do while not rs.eof
          id=rs("id")
		  s=rs("编号")
		  z=rs("名称")
		  response.write "<tr align=left bgcolor=#ffffff>"
		  response.write "<td bgcolor=#ffffff align=center><a href=javascript:openwin("& id &") title='点击查看详细资料'>"& rs("编号")&"</a></td>"
		  response.write "<td bgcolor=#ffffff align=center><a href=javascript:openwin("& id &") title='点击查看详细资料'>"& rs("名称")&"</a></td>"
		  response.write"<td bgcolor=#ffffff align=center>"& rs("最后更新时间")&"</td>"
		  response.write"<td bgcolor=#ffffff align=center><font color=#006699>"& rs("状态")&"</font></td>"
		  response.write"<td bgcolor=#ffffff align=center><a href=add_wuzi.asp>添加新记录</a>&nbsp;&nbsp;<a href=editwuzi.asp?id="&id&">修改</a>&nbsp;&nbsp;<a href=delwuzi.asp?id="&id&">删除</a>"
		  response.write "</td>"  
		  response.write "</tr>"  
  rs.movenext
  loop
  end if
  %>
      </table>
    </td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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