请高手帮忙改段asp代码

来源:百度知道 编辑:UC知道 时间:2024/05/22 19:12:55
<%
j=3
exec="select * from photo where Editor='hnyqw' order by PhotoID desc"
set rs=server.createobject("adodb.recordset")
rs.open exec,cn,1,1
%>
<br>
<table border="0" width="814" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"><table width="812" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="812" valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="5">
<tr>
<td height="0" valign="top"><table width="801" border="

<!--#include file="conn.asp"-->''''包含你的数据库链接文件页
<%
dim j
j=3
exec="select * from photo where Editor='hnyqw' order by PhotoID desc"
set rs=server.createobject("adodb.recordset")
rs.open exec,conn,1,1
%>
<br>
<table border="0" width="814" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"><table width="812" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="812" valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="5">
<tr>
<td height="0" valign="top"><table width="801" border="0" cellspacing="0" cellpadding="0&quo