怎样把如下代码里读取的id传到fencai.asp页面 10
我的代码如下<%sql="select*fromregisterorderbyidasc"Setrs=Server.CreateObject("ADODB.RecordS...
我的代码如下
<%sql="select*from register order by id asc"
Set rs=Server.CreateObject("ADODB.RecordSet")
rs.Open sql,conn,1,1
i=0
do while not rs.eof
i=i+1
%>
<td width="95"><a href="javascript:MM_openBrWindow('fengcai.asp')" class="STYLE2"><%= rs("name")%></a></td>
<td width="488"> </td>
<% if (i mod 4=0 ) then
response.write("</tr><tr>")
end if
%>
<%
rs.movenext
loop
rs.close
set rs=nothing
%> 展开
<%sql="select*from register order by id asc"
Set rs=Server.CreateObject("ADODB.RecordSet")
rs.Open sql,conn,1,1
i=0
do while not rs.eof
i=i+1
%>
<td width="95"><a href="javascript:MM_openBrWindow('fengcai.asp')" class="STYLE2"><%= rs("name")%></a></td>
<td width="488"> </td>
<% if (i mod 4=0 ) then
response.write("</tr><tr>")
end if
%>
<%
rs.movenext
loop
rs.close
set rs=nothing
%> 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询