主题:小女子急求大家帮忙~
请问各位大哥,如何把下面<table>里面的数据记录按4行和5列循环排列??
此问题困扰小女子多日[em7],请各位GG指教~~`
------------------------------------------------
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="Connections/conndata.asp" -->
<%
Dim Rechanpin
Dim Rechanpin_numRows
Set Rechanpin = Server.CreateObject("ADODB.Recordset")
Rechanpin.ActiveConnection = MM_conndata_STRING
Rechanpin.Source = "SELECT * FROM chanpin"
Rechanpin.CursorType = 0
Rechanpin.CursorLocation = 2
Rechanpin.LockType = 1
Rechanpin.Open()
Rechanpin_numRows = 0
%>
<!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 width="376" height="148" border="1" cellpadding="0" cellspacing="0">
<tr>
<td valign="top">[color=FF0000]<table width="200" border="1" cellspacing="0" cellpadding="0">[/color]</td>
</tr>
</table>
</body>
</html>
<%
Rechanpin.Close()
Set Rechanpin = Nothing
%>
------------------------------------------------
此问题困扰小女子多日[em7],请各位GG指教~~`
------------------------------------------------
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="Connections/conndata.asp" -->
<%
Dim Rechanpin
Dim Rechanpin_numRows
Set Rechanpin = Server.CreateObject("ADODB.Recordset")
Rechanpin.ActiveConnection = MM_conndata_STRING
Rechanpin.Source = "SELECT * FROM chanpin"
Rechanpin.CursorType = 0
Rechanpin.CursorLocation = 2
Rechanpin.LockType = 1
Rechanpin.Open()
Rechanpin_numRows = 0
%>
<!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 width="376" height="148" border="1" cellpadding="0" cellspacing="0">
<tr>
<td valign="top">[color=FF0000]<table width="200" border="1" cellspacing="0" cellpadding="0">[/color]</td>
</tr>
</table>
</body>
</html>
<%
Rechanpin.Close()
Set Rechanpin = Nothing
%>
------------------------------------------------