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

📄 wuzi_set.asp

📁 对学校物资管理系统的一份设计
💻 ASP
字号:
<!--#include file = "Startup.asp"-->
<!-- #include file="Function.asp" -->
<%call adminer()Call ComeUrl()Call adminqx()%>

<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="500" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#CCCCCC" >
        <tr align="center" bgcolor="#E0E0E0"> 
          <td  width="30%" height="20" align="left"><strong> <font color="#FF0000">物资名称</font></strong></td>
          <td  width="30%" align="left"><strong><font color="#FF0000">操作</font></strong></td>
        </tr>
        <%
  set rs=server.createobject("adodb.recordset")
  sql="select * from wuzi"
  rs.open sql,oconn,1,2
  if rs.eof then
  response.Write("暂无物资!")
  else
  do while not rs.eof
          id=rs("id")
		  s=rs("物资名称")
		  response.write "<tr align=left bgcolor=#ffffff>"
		  response.write "<td bgcolor=#ffffff>"& s &"</td>"
		  response.write"<td bgcolor=#ffffff><a href=delwuzi.asp?id="&id&">删除</a></td>"
		  response.write "</tr>"  
  rs.movenext
  loop
  end if
  %>
      </table>
      <p>&nbsp;</p>
      <table width="80%" border="0">
        <tr>
          <td align="center">
<form name="form1" method="post" action="wuzi_add.asp">
              <table width="500" border="0" cellpadding="3" cellspacing="1" bgcolor="#CCCCCC">
                <tr align="center" bgcolor="#FFFFFF"> 
                  <td width="25%"> <input name="wuziname" type="text" id="wuziname" value="输入物资名称" size="15"></td>
                  <td width="25%"> <input type="submit" name="Submit" value="添加分类"></td>
                </tr>
              </table>
            </form></td>
        </tr>
      </table>
      <p>&nbsp;</p> </td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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