日期:2014-05-16 浏览次数:20812 次
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!-- #include file="gl\conn.asp" -->
<%
dim exec
exec="select *from author"
set rs=server.CreateObject("adodb.recordset")
rs.open exec,conn,3,3
%>
<!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="600" border="1">
<tr>
<td width="31">序号</td>
<td width="109">作者名</td>
<td width="438">作者关键词</td>
</tr>
<% do while not rs.eof%>
<tr>
<td><%=rs("authorid")%></td>
<td><%=rs("authorname")%></td>
<td><%=rs("authorkeyword")%></td>
</tr>
<%
rs.movenext
loop
%>
</table>
</body>
</html>
<%
rs.close
set rs=nothing
conn.close
set author=nothing
%>