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

📄 smallclass_red.asp

📁 web进销存m长审核合格后才能开通帐号。如果不想上载源码
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="Connections/access.asp" -->
<%
Dim smallclass
Dim smallclass_numRows

Set smallclass = Server.CreateObject("ADODB.Recordset")
smallclass.ActiveConnection = MM_access_STRING
smallclass.Source = "SELECT * FROM smallclass"
smallclass.CursorType = 0
smallclass.CursorLocation = 2
smallclass.LockType = 1
smallclass.Open()

smallclass_numRows = 0
%>
<%
Dim bigclass1
Dim bigclass1_numRows

Set bigclass1 = Server.CreateObject("ADODB.Recordset")
bigclass1.ActiveConnection = MM_access_STRING
bigclass1.Source = "SELECT * FROM bigclass"
bigclass1.CursorType = 0
bigclass1.CursorLocation = 2
bigclass1.LockType = 1
bigclass1.Open()

bigclass1_numRows = 0
%>
<%
Dim Repeat1__numRows
Dim Repeat1__index

Repeat1__numRows = 10
Repeat1__index = 0
smallclass_numRows = smallclass_numRows + Repeat1__numRows
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>

<body>
<table border="1" align="center">
  <tr>
    <td>ih 小类号 </td>
    <td>小类名称</td>
    <td>大类号</td>
  </tr>
  <% While ((Repeat1__numRows <> 0) AND (NOT smallclass.EOF)) %>
    <tr>
      <td><%=(smallclass.Fields.Item("id").Value)%></td>
      <td><%=(smallclass.Fields.Item("smallclass").Value)%></td>
      <td><%=(smallclass.Fields.Item("id_bigclass").Value)%></td>
    </tr>
    <% 
  Repeat1__index=Repeat1__index+1
  Repeat1__numRows=Repeat1__numRows-1
  smallclass.MoveNext()
Wend
%>
</table>
<p>&nbsp;</p>
<table width="473" border="1" align="center">
  <tr>
    <td><div align="center"><a href="smallclass_add.asp">填加</a></div></td>
    <td><div align="center"><a href="smallclass_xg.asp">修改</a></div></td>
    <td><div align="center">删除</div></td>
    <td><div align="center"><a href="bigclaas_red.asp">大类号查询</a></div></td>
  </tr>
</table>
<p>&nbsp;</p>
</body>
</html>
<%
smallclass.Close()
Set smallclass = Nothing
%>
<%
bigclass1.Close()
Set bigclass1 = Nothing
%>

⌨️ 快捷键说明

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